From 407ff8d6bef309fe258dd39c6c8d4456b046e97f Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Sat, 15 Sep 2018 13:37:21 +0300 Subject: [PATCH] Reintroduce `extern crate` for non-Cargo dependencies, in tests. --- tests/matches.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/matches.rs b/tests/matches.rs index c79e233cc815..3b4910315f56 100644 --- a/tests/matches.rs +++ b/tests/matches.rs @@ -7,7 +7,7 @@ use std::collections::Bound; #[test] fn test_overlapping() { use clippy_lints::matches::overlapping; - use syntax::source_map::DUMMY_SP; + use crate::syntax::source_map::DUMMY_SP; let sp = |s, e| clippy_lints::matches::SpannedRange { span: DUMMY_SP,