rust/src/test/ui/lint/reasons-forbidden.stderr

15 lines
465 B
Plaintext
Raw Normal View History

error[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
--> $DIR/reasons-forbidden.rs:14:13
|
LL | unsafe_code,
| ----------- `forbid` level set here
...
LL | #[allow(unsafe_code)]
| ^^^^^^^^^^^ overruled by previous forbid
|
= note: our errors & omissions insurance policy doesn't cover unsafe Rust
error: aborting due to previous error
For more information about this error, try `rustc --explain E0453`.