blob: 9a14bcc2f733566c4cda0c8120136d3901c4ddf5 [file] [log] [blame]
error[E0723]: function pointers in const fn are unstable
--> $DIR/allow_const_fn_ptr.rs:5:16
|
LL | const fn error(_: fn()) {}
| ^
|
= 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
error: aborting due to previous error
For more information about this error, try `rustc --explain E0723`.