]> git.lizzy.rs Git - rust.git/blob - src/test/ui/did_you_mean/pub-macro-rules.stderr
Test `expect` with `forbid` and fix doc errors (RFC-2383)
[rust.git] / src / test / ui / did_you_mean / pub-macro-rules.stderr
1 error: can't qualify macro_rules invocation with `pub`
2   --> $DIR/pub-macro-rules.rs:2:5
3    |
4 LL |     pub macro_rules! foo {
5    |     ^^^ help: try exporting the macro: `#[macro_export]`
6
7 error: aborting due to previous error
8