os-rust/tests/ui/feature-gates/feature-gate-allow-internal-unsafe-nested-macro.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
678 B
Text
Raw Normal View History

error[E0658]: allow_internal_unsafe side-steps the unsafe_code lint
2018-12-25 08:56:47 -07:00
--> $DIR/feature-gate-allow-internal-unsafe-nested-macro.rs:8:9
|
2019-03-09 15:03:44 +03:00
LL | #[allow_internal_unsafe]
| ^^^^^^^^^^^^^^^^^^^^^^^^
...
2018-02-23 03:42:32 +03:00
LL | bar!();
2021-10-14 13:28:28 -05:00
| ------ in this macro invocation
|
= help: add `#![feature(allow_internal_unsafe)]` to the crate attributes to enable
2024-01-10 01:39:02 -05:00
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
= note: this error originates in the macro `bar` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 1 previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0658`.