2018-01-13 07:05:51 -06:00
|
|
|
error[E0658]: allow_internal_unsafe side-steps the unsafe_code lint
|
2017-12-06 02:27:47 -06:00
|
|
|
--> $DIR/feature-gate-allow-internal-unsafe-nested-macro.rs:18:9
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[allow_internal_unsafe] //~ ERROR allow_internal_unsafe side-steps
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | bar!();
|
2017-12-06 02:27:47 -06:00
|
|
|
| ------- in this macro invocation
|
|
|
|
|
|
|
|
|
= help: add #![feature(allow_internal_unsafe)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0658"
|