Skip to content

Commit

Permalink
Fix tests/marker.rs imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 30, 2021
1 parent a14b963 commit 73a0658
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ assert_impl!(TokenTree is not Send or Sync);

#[cfg(procmacro2_semver_exempt)]
mod semver_exempt {
use super::*;
use proc_macro2::{LineColumn, SourceFile};

assert_impl!(LineColumn is Send and Sync);

Expand All @@ -65,6 +65,8 @@ mod unwind_safe {
use proc_macro2::{
Delimiter, Group, Ident, LexError, Literal, Punct, Spacing, Span, TokenStream, TokenTree,
};
#[cfg(procmacro2_semver_exempt)]
use proc_macro2::{LineColumn, SourceFile};
use std::panic::{RefUnwindSafe, UnwindSafe};

macro_rules! assert_unwind_safe {
Expand Down

0 comments on commit 73a0658

Please sign in to comment.