mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
17 lines
364 B
Plaintext
17 lines
364 B
Plaintext
warning: unnecessary `unsafe` block
|
|
--> $DIR/union_destructure.rs:35:5
|
|
|
|
|
LL | unsafe {
|
|
| ^^^^^^ unnecessary `unsafe` block
|
|
|
|
|
= note: `#[warn(unused_unsafe)]` on by default
|
|
|
|
warning: unnecessary `unsafe` block
|
|
--> $DIR/union_destructure.rs:41:5
|
|
|
|
|
LL | unsafe {
|
|
| ^^^^^^ unnecessary `unsafe` block
|
|
|
|
warning: 2 warnings emitted
|
|
|