]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-37550.stderr
Rollup merge of #59036 - dlrobertson:fix_59021, r=estebank
[rust.git] / src / test / ui / issues / issue-37550.stderr
1 error[E0723]: function pointers in const fn are unstable (see issue #57563)
2   --> $DIR/issue-37550.rs:3:9
3    |
4 LL |     let x = || t;
5    |         ^
6    |
7    = help: add #![feature(const_fn)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0723`.