rust/tests/ui/single_component_path_imports_self_after.rs
2021-11-04 12:52:36 +00:00

15 lines
273 B
Rust

#![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() {}