mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +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
|
|
|