fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
1.2 KiB36 linesraw
1error[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
2  --> $DIR/reasons-forbidden.rs:16: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[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
13  --> $DIR/reasons-forbidden.rs:16:13
14   |
15LL |     unsafe_code,
16   |     ----------- `forbid` level set here
17...
18LL |     #[allow(unsafe_code)]
19   |             ^^^^^^^^^^^ overruled by previous forbid
20   |
21   = note: our errors & omissions insurance policy doesn't cover unsafe Rust
22
23error[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
24  --> $DIR/reasons-forbidden.rs:16:13
25   |
26LL |     unsafe_code,
27   |     ----------- `forbid` level set here
28...
29LL |     #[allow(unsafe_code)]
30   |             ^^^^^^^^^^^ overruled by previous forbid
31   |
32   = note: our errors & omissions insurance policy doesn't cover unsafe Rust
33
34error: aborting due to 3 previous errors
35
36For more information about this error, try `rustc --explain E0453`.