mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
21 lines
504 B
Plaintext
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
|
|
|