blob: 818f5ce03b54d3f7b96d80cb0a7b04ef0e30749e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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
|