]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-37550.stderr
Rollup merge of #60609 - spastorino:be-explicit-on-mem-replace-doc, r=Centril
[rust.git] / src / test / ui / issues / issue-37550.stderr
1 error[E0723]: function pointers in const fn are unstable
2   --> $DIR/issue-37550.rs:3:9
3    |
4 LL |     let x = || t;
5    |         ^
6    |
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
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0723`.