blob: 4c8492b22f62588eab51da7490d1c0f1a2b6480e [file] [log] [blame]
error[E0658]: unions in const fn are unstable
--> $DIR/feature-gate-const_fn_union.rs:12:5
|
LL | Foo { u }.i
| ^^^^^^^^^^^
|
= note: see issue #51909 <https://github.com/rust-lang/rust/issues/51909> for more information
= help: add `#![feature(const_fn_union)]` to the crate attributes to enable
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.