]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/pub-method-macro.stderr
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / pub-method-macro.stderr
index 7b0fe4934610d547178a1972b26fc2c99dc0fa59..7c7a909267a1cfecd4c53e209444643430ca723a 100644 (file)
@@ -2,7 +2,7 @@ error: can't qualify macro invocation with `pub`
   --> $DIR/pub-method-macro.rs:17:9
    |
 LL |         pub defn!(f);
-   |         ^^^
+   |         ^^^ help: remove the visibility
    |
    = help: try adjusting the macro to put `pub` inside the invocation