blob: be4d1b2a964bc4fa2c3f3b8825521e4a2798c722 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#![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;
|