]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-allow-internal-unstable-nested-macro.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-allow-internal-unstable-nested-macro.stderr
1 error[E0658]: allow_internal_unstable side-steps feature gating and stability checks
2   --> $DIR/feature-gate-allow-internal-unstable-nested-macro.rs:8:9
3    |
4 LL |         #[allow_internal_unstable()]
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 ...
7 LL | bar!();
8    | ------ in this macro invocation
9    |
10    = help: add `#![feature(allow_internal_unstable)]` to the crate attributes to enable
11    = note: this error originates in the macro `bar` (in Nightly builds, run with -Z macro-backtrace for more info)
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0658`.