]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/test-attr-non-associated-functions.rs
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / test-attr-non-associated-functions.rs
index 5ed85abaaa1b2bf7ad6769970c9a0f1054adfd97..e475f5b4a75a515f7d97b02a1583ce120617bc94 100644 (file)
@@ -6,7 +6,7 @@ struct A {}
 
 impl A {
     #[test]
-    fn new() -> A { //~ ERROR #[test] attribute is only allowed on non associated functions
+    fn new() -> A { //~ ERROR `#[test]` attribute is only allowed on non associated functions
         A {}
     }
 }