rust/tests/ui/issues/issue-48131.thir.stderr
2023-01-11 09:32:08 +00:00

21 lines
504 B
Plaintext

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