]>
Commit | Line | Data |
---|---|---|
72b1a166 | 1 | error[E0658]: function pointers cannot appear in constant functions |
0731742a | 2 | --> $DIR/issue-37550.rs:3:9 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | let x = || t; |
0731742a | 5 | | ^ |
9fa01778 | 6 | | |
72b1a166 FG |
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 | |
8faf50e0 | 9 | |
0731742a | 10 | error: aborting due to previous error |
8faf50e0 | 11 | |
72b1a166 | 12 | For more information about this error, try `rustc --explain E0658`. |