]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/tool-attributes/tool-attributes-misplaced-1.rs
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / tool-attributes / tool-attributes-misplaced-1.rs
index ce902b7e7d28a8d9fb7513114f1c1e985b58b130..8c62b34bd9ea5695edfdc1de5e454ff91114e5e7 100644 (file)
@@ -5,7 +5,7 @@ type B = rustfmt::skip; //~ ERROR expected type, found tool attribute `rustfmt::
 struct S;
 
 // Interpreted as a feature gated custom attribute
-#[rustfmt] //~ ERROR attribute `rustfmt` is currently unknown
+#[rustfmt] //~ ERROR cannot find attribute macro `rustfmt` in this scope
 fn check() {}
 
 #[rustfmt::skip] // OK