blob: 0de41c65bec08980ee4bd50f4001f6b1ba845783 [file] [log] [blame]
error[E0723]: function pointers in const fn are unstable (see issue #57563)
--> $DIR/cmp_fn_pointers.rs:1:14
|
LL | const fn cmp(x: fn(), y: fn()) -> bool {
| ^
|
= 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`.