]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-sanitizer-runtime.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / feature-gates / feature-gate-sanitizer-runtime.stderr
1 error[E0658]: the `#[sanitizer_runtime]` attribute is used to identify crates that contain the runtime of a sanitizer and will never be stable
2   --> $DIR/feature-gate-sanitizer-runtime.rs:11:1
3    |
4 LL | #![sanitizer_runtime] //~ ERROR the `#[sanitizer_runtime]` attribute is
5    | ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(sanitizer_runtime)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.