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