From 4301c2fb9be8a94550d7e7359f5e87404a3dfc4d Mon Sep 17 00:00:00 2001 From: Philip Craig Date: Mon, 7 Jun 2021 13:45:31 +1000 Subject: [PATCH] Test that `Context` is `Send` --- src/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 3236a34..3fd1204 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1712,3 +1712,12 @@ pub struct Location<'a> { /// The column number. pub column: Option, } + +#[cfg(test)] +mod tests { + #[test] + fn context_is_send() { + fn assert_is_send() {} + assert_is_send::>>(); + } +}