]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-allow-internal-unsafe-nested-macro.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-allow-internal-unsafe-nested-macro.stderr
CommitLineData
2c00a5a8 1error[E0658]: allow_internal_unsafe side-steps the unsafe_code lint
0731742a 2 --> $DIR/feature-gate-allow-internal-unsafe-nested-macro.rs:8:9
ff7c6d11 3 |
532ac7d7 4LL | #[allow_internal_unsafe]
ff7c6d11
XL
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
6...
0531ce1d 7LL | bar!();
ff7c6d11
XL
8 | ------- in this macro invocation
9 |
10 = help: add #![feature(allow_internal_unsafe)] to the crate attributes to enable
11
12error: aborting due to previous error
13
0531ce1d 14For more information about this error, try `rustc --explain E0658`.