]> 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 8c62b34bd9ea5695edfdc1de5e454ff91114e5e7..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 cannot find attribute macro `rustfmt` in this scope
+// Interpreted as an unstable custom attribute
+#[rustfmt] //~ ERROR cannot find attribute `rustfmt` in this scope
 fn check() {}
 
 #[rustfmt::skip] // OK