]> git.lizzy.rs Git - rust.git/commitdiff
Restore test
authorFabian Drinck <fabian.drinck@rwth-aachen.de>
Mon, 18 Mar 2019 16:51:00 +0000 (17:51 +0100)
committerFabian Drinck <fabian.drinck@rwth-aachen.de>
Sat, 30 Mar 2019 21:37:02 +0000 (22:37 +0100)
src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs

index f25d81f1c9a52fbe6a6fa475fbb32ab10d379a16..566b3581046d913920637952cb163ee650f983b0 100644 (file)
@@ -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");