From 53b399a8e4d00a3114190590f973706c587f0d49 Mon Sep 17 00:00:00 2001 From: Rui Date: Wed, 29 Jan 2020 20:48:33 +0800 Subject: [PATCH] Add renaming import to test. Co-Authored-By: Philipp Krones --- tests/ui/single_component_path_imports.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ui/single_component_path_imports.rs b/tests/ui/single_component_path_imports.rs index 338b87735f8d..3c4048a3b08e 100644 --- a/tests/ui/single_component_path_imports.rs +++ b/tests/ui/single_component_path_imports.rs @@ -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();