Auto merge of #116033 - bvanjoi:fix-116032, r=petrochenkov
report `unused_import` for empty reexports even it is pub Fixes #116032 An easy fix. r? `@petrochenkov` (Discovered this issue while reviewing #115993.)
This commit is contained in:
commit
330d7fafb8
@ -19,6 +19,7 @@ mod in_fn_test {
|
||||
}
|
||||
|
||||
mod blurg {
|
||||
#[allow(unused_imports)]
|
||||
pub use std::cmp::Ordering::*; // ok, re-export
|
||||
}
|
||||
|
||||
|
@ -19,6 +19,7 @@ mod in_fn_test {
|
||||
}
|
||||
|
||||
mod blurg {
|
||||
#[allow(unused_imports)]
|
||||
pub use std::cmp::Ordering::*; // ok, re-export
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user