]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/reasons-forbidden.stderr
Rollup merge of #69362 - CAD97:alloc_layout_extras, r=Amanieu
[rust.git] / src / test / ui / lint / reasons-forbidden.stderr
1 error[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
2   --> $DIR/reasons-forbidden.rs:16:13
3    |
4 LL |     unsafe_code,
5    |     ----------- `forbid` level set here
6 ...
7 LL |     #[allow(unsafe_code)]
8    |             ^^^^^^^^^^^ overruled by previous forbid
9    |
10    = note: our errors & omissions insurance policy doesn't cover unsafe Rust
11
12 error[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
13   --> $DIR/reasons-forbidden.rs:16:13
14    |
15 LL |     unsafe_code,
16    |     ----------- `forbid` level set here
17 ...
18 LL |     #[allow(unsafe_code)]
19    |             ^^^^^^^^^^^ overruled by previous forbid
20    |
21    = note: our errors & omissions insurance policy doesn't cover unsafe Rust
22
23 error[E0453]: allow(unsafe_code) overruled by outer forbid(unsafe_code)
24   --> $DIR/reasons-forbidden.rs:16:13
25    |
26 LL |     unsafe_code,
27    |     ----------- `forbid` level set here
28 ...
29 LL |     #[allow(unsafe_code)]
30    |             ^^^^^^^^^^^ overruled by previous forbid
31    |
32    = note: our errors & omissions insurance policy doesn't cover unsafe Rust
33
34 error: aborting due to 3 previous errors
35
36 For more information about this error, try `rustc --explain E0453`.