| error[E0723]: heap allocations are not allowed in const fn |
| --> $DIR/bad_const_fn_body_ice.rs:2:5 |
| | |
| LL | vec![1, 2, 3] |
| | ^^^^^^^^^^^^^ |
| | |
| = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information |
| = help: add `#![feature(const_fn)]` to the crate attributes to enable |
| = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) |
| |
| error: aborting due to previous error |
| |
| For more information about this error, try `rustc --explain E0723`. |