]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rust-2018/uniform-paths/prelude.rs
resolve: Prohibit use of imported tool modules
[rust.git] / src / test / ui / rust-2018 / uniform-paths / prelude.rs
index 46ce725fdba93c56762e235105d04ac8fb69081c..1a6027f30d786b01a7a3bf7b0ef6a5f095a51a0a 100644 (file)
@@ -6,9 +6,6 @@
 // Macro imported with `#[macro_use] extern crate`
 use vec as imported_vec;
 
-// Tool module
-use rustfmt as imported_rustfmt;
-
 // Standard library prelude
 use Vec as ImportedVec;
 
@@ -17,7 +14,6 @@
 
 type A = imported_u8;
 
-#[imported_rustfmt::skip]
 fn main() {
     imported_vec![0];
     ImportedVec::<u8>::new();