Skip to content

Commit

Permalink
Add renaming import to test.
Browse files Browse the repository at this point in the history
Co-Authored-By: Philipp Krones <[email protected]>
  • Loading branch information
xiongmao86 and flip1995 authored Jan 29, 2020
1 parent b741eb3 commit 53b399a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ui/single_component_path_imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![warn(clippy::single_component_path_imports)]

use regex;
use serde as edres;

fn main() {
regex::Regex::new(r"^\d{4}-\d{2}-\d{2}$").unwrap();
Expand Down

0 comments on commit 53b399a

Please sign in to comment.