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