Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
pub_use.rs
blob: be4d1b2a964bc4fa2c3f3b8825521e4a2798c722 [
file
] [
log
] [
blame
]
#![
warn
(
clippy
::
pub_use
)]
#![
allow
(
unused_imports
)]
#![
no_main
]
pub
mod
outer
{
mod
inner
{
pub
struct
Test
{}
}
// should be linted
pub
use
inner
::
Test
;
//~^ pub_use
}
// should not be linted
use
std
::
fmt
;