summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/single_component_path_imports_self_before.rs
blob: 4fb0cf40b6e00d40bb2c0345a28457af33695442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![warn(clippy::single_component_path_imports)]
#![allow(unused_imports)]

use regex;

use self::regex::{Regex as xeger, RegexSet as tesxeger};
pub use self::{
    regex::{Regex, RegexSet},
    some_mod::SomeType,
};

mod some_mod {
    pub struct SomeType;
}

fn main() {}