]> git.lizzy.rs Git - rust.git/blob - tests/ui/single_component_path_imports.fixed
Auto merge of #4809 - iankronquist:patch-1, r=flip1995
[rust.git] / tests / ui / single_component_path_imports.fixed
1 // run-rustfix
2 // compile-flags: --edition 2018
3 #![warn(clippy::single_component_path_imports)]
4 #![allow(unused_imports)]
5
6
7 use serde as edres;
8 pub use serde;
9
10 fn main() {
11     regex::Regex::new(r"^\d{4}-\d{2}-\d{2}$").unwrap();
12 }