rust/tests/ui/single_component_path_imports_self_after.rs

17 lines
289 B
Rust
Raw Normal View History

// edition:2018
#![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() {}