Skip to content

Commit

Permalink
use visibility to check unused imports and delete some stmts
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanjoi committed Oct 22, 2023
1 parent 8e7d167 commit 87d0ace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/ui/enum_glob_use.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ mod in_fn_test {
}

mod blurg {
#[allow(unused_imports)]
pub use std::cmp::Ordering::*; // ok, re-export
}

Expand Down
1 change: 1 addition & 0 deletions tests/ui/enum_glob_use.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ mod in_fn_test {
}

mod blurg {
#[allow(unused_imports)]
pub use std::cmp::Ordering::*; // ok, re-export
}

Expand Down

0 comments on commit 87d0ace

Please sign in to comment.