]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-48131.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-48131.stderr
1 error: unnecessary `unsafe` block
2   --> $DIR/issue-48131.rs:18:9
3    |
4 LL |         unsafe { /* unnecessary */ } //~ ERROR unnecessary `unsafe`
5    |         ^^^^^^ unnecessary `unsafe` block
6    |
7 note: lint level defined here
8   --> $DIR/issue-48131.rs:13:9
9    |
10 LL | #![deny(unused_unsafe)] //~ NOTE
11    |         ^^^^^^^^^^^^^
12
13 error: unnecessary `unsafe` block
14   --> $DIR/issue-48131.rs:29:13
15    |
16 LL |             unsafe { /* unnecessary */ } //~ ERROR unnecessary `unsafe`
17    |             ^^^^^^ unnecessary `unsafe` block
18
19 error: aborting due to 2 previous errors
20