2018-09-29 19:25:26 -05:00
|
|
|
error[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
|
2018-09-29 20:00:50 -05:00
|
|
|
--> $DIR/reasons-forbidden.rs:14:13
|
2018-09-29 19:25:26 -05:00
|
|
|
|
|
|
|
|
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`.
|