rust/tests/ui/did_you_mean/pub-macro-rules.stderr
Esteban Küber 692bc344d5 Make parse error suggestions verbose and fix spans
Go over all structured parser suggestions and make them verbose style.

When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-12 03:02:57 +00:00

14 lines
290 B
Plaintext

error: can't qualify macro_rules invocation with `pub`
--> $DIR/pub-macro-rules.rs:2:5
|
LL | pub macro_rules! foo {
| ^^^
|
help: try exporting the macro
|
LL | #[macro_export] macro_rules! foo {
| ~~~~~~~~~~~~~~~
error: aborting due to 1 previous error