1error[E0658]: function pointers cannot appear in constant functions 2 --> $DIR/min_const_fn_fn_ptr.rs:13:5 3 | 4LL | x.0.field; 5 | ^^^^^^^^^ 6 | 7 = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information 8 = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable 9 10error[E0658]: function pointer casts are not allowed in constant functions 11 --> $DIR/min_const_fn_fn_ptr.rs:16:59 12 | 13LL | const fn no_inner_dyn_trait_ret() -> Hide { Hide(HasPtr { field }) } 14 | ^^^^^ 15 | 16 = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information 17 = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0658`. 22