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

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

mod some_mod {
    pub struct SomeType;
}

fn main() {}