rust/src/test/ui/feature-gates/feature-gate-allow-internal-unsafe-nested-macro.stderr

16 lines
576 B
Plaintext
Raw Normal View History

error[E0658]: allow_internal_unsafe side-steps the unsafe_code lint
2018-12-25 15:56:47 +00:00
--> $DIR/feature-gate-allow-internal-unsafe-nested-macro.rs:8:9
|
2019-03-09 12:03:44 +00:00
LL | #[allow_internal_unsafe]
| ^^^^^^^^^^^^^^^^^^^^^^^^
...
2018-02-23 00:42:32 +00:00
LL | bar!();
| ------- in this macro invocation
|
= help: add `#![feature(allow_internal_unsafe)]` to the crate attributes to enable
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0658`.