about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Drinck <fabian.drinck@rwth-aachen.de>2019-03-18 17:51:00 +0100
committerFabian Drinck <fabian.drinck@rwth-aachen.de>2019-03-30 22:37:02 +0100
commit2ade4430402dcbe3bba9a17a13cb290f73f5a477 (patch)
tree2895b42404af2ebb844e935c5c85e51942b185f3
parentc244c411e4c869a76c7a8163b67840bdf83674e6 (diff)
downloadrust-2ade4430402dcbe3bba9a17a13cb290f73f5a477.tar.gz
rust-2ade4430402dcbe3bba9a17a13cb290f73f5a477.zip
Restore test
-rw-r--r--src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs b/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs
index f25d81f1c9a..566b3581046 100644
--- a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs
+++ b/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs
@@ -4,9 +4,12 @@
 // compile-flags:--extern xcrate
 // edition:2018
 
+#![allow(unused_imports)]
+
 use xcrate::Z;
 
 fn f() {
+    use xcrate;
     use xcrate as ycrate;
     let s = xcrate::S;
     assert_eq!(format!("{:?}", s), "S");