fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
249 B10 linesraw
1error: can't qualify macro invocation with `pub`
2  --> $DIR/pub-method-macro.rs:17:9
3   |
4LL |         pub defn!(f);
5   |         ^^^
6   |
7   = help: try adjusting the macro to put `pub` inside the invocation
8
9error: aborting due to previous error
10