2018-08-26 15:19:34 +02:00
|
|
|
error: any use of this value will cause an error
|
2018-06-04 18:32:06 +02:00
|
|
|
--> $DIR/union-const-eval-field.rs:37:5
|
|
|
|
|
|
2018-08-26 15:19:34 +02:00
|
|
|
LL | const FIELD3: Field3 = unsafe { UNION.field3 }; //~ ERROR any use of this value
|
2018-08-01 15:29:13 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempted to read undefined bytes
|
2018-06-04 18:32:06 +02:00
|
|
|
|
|
2018-08-01 15:29:13 +02:00
|
|
|
= note: #[deny(const_err)] on by default
|
2018-06-04 18:32:06 +02:00
|
|
|
|
2018-09-19 17:22:03 +02:00
|
|
|
error: aborting due to previous error
|
2018-06-04 18:32:06 +02:00
|
|
|
|