summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-48131.thir.stderr
blob: 6817e8830c50978e23d711f06ca8b7abb116e32b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: unnecessary `unsafe` block
  --> $DIR/issue-48131.rs:12:9
   |
LL |         unsafe { /* unnecessary */ }
   |         ^^^^^^ unnecessary `unsafe` block
   |
note: the lint level is defined here
  --> $DIR/issue-48131.rs:6:9
   |
LL | #![deny(unused_unsafe)]
   |         ^^^^^^^^^^^^^

error: unnecessary `unsafe` block
  --> $DIR/issue-48131.rs:23:13
   |
LL |             unsafe { /* unnecessary */ }
   |             ^^^^^^ unnecessary `unsafe` block

error: aborting due to 2 previous errors