fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
465 B14 linesraw
1error[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
2  --> $DIR/reasons-forbidden.rs:14:13
3   |
4LL |     unsafe_code,
5   |     ----------- `forbid` level set here
6...
7LL |     #[allow(unsafe_code)]
8   |             ^^^^^^^^^^^ overruled by previous forbid
9   |
10   = note: our errors & omissions insurance policy doesn't cover unsafe Rust
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0453`.