]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/tool-attributes/tool-attributes-misplaced-1.rs
resolve: Tweak "cannot find" wording for attributes
[rust.git] / src / test / ui / tool-attributes / tool-attributes-misplaced-1.rs
index ce902b7e7d28a8d9fb7513114f1c1e985b58b130..72929c5e80590689b07222fee779a181b1ab4c4b 100644 (file)
@@ -4,8 +4,8 @@
 #[derive(rustfmt)] //~ ERROR cannot find derive macro `rustfmt` in this scope
 struct S;
 
-// Interpreted as a feature gated custom attribute
-#[rustfmt] //~ ERROR attribute `rustfmt` is currently unknown
+// Interpreted as an unstable custom attribute
+#[rustfmt] //~ ERROR cannot find attribute `rustfmt` in this scope
 fn check() {}
 
 #[rustfmt::skip] // OK