mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
982b49494e
This is to make the diff when stabilizing it easier to review.
21 lines
503 B
Plaintext
21 lines
503 B
Plaintext
error: unnecessary `unsafe` block
|
|
--> $DIR/issue-48131.rs:9:9
|
|
|
|
|
LL | unsafe { /* unnecessary */ }
|
|
| ^^^^^^ unnecessary `unsafe` block
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-48131.rs:3:9
|
|
|
|
|
LL | #![deny(unused_unsafe)]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: unnecessary `unsafe` block
|
|
--> $DIR/issue-48131.rs:20:13
|
|
|
|
|
LL | unsafe { /* unnecessary */ }
|
|
| ^^^^^^ unnecessary `unsafe` block
|
|
|
|
error: aborting due to 2 previous errors
|
|
|