]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-37550.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-37550.stderr
1 error[E0658]: let bindings in constant functions are unstable (see issue #48821)
2   --> $DIR/issue-37550.rs:14:13
3    |
4 LL |     let t = true;
5    |             ^^^^
6    |
7    = help: add #![feature(const_let)] to the crate attributes to enable
8
9 error[E0658]: statements in constant functions are unstable (see issue #48821)
10   --> $DIR/issue-37550.rs:14:13
11    |
12 LL |     let t = true;
13    |             ^^^^
14    |
15    = help: add #![feature(const_let)] to the crate attributes to enable
16
17 error[E0658]: let bindings in constant functions are unstable (see issue #48821)
18   --> $DIR/issue-37550.rs:17:13
19    |
20 LL |     let x = || t;
21    |             ^^^^
22    |
23    = help: add #![feature(const_let)] to the crate attributes to enable
24
25 error[E0658]: statements in constant functions are unstable (see issue #48821)
26   --> $DIR/issue-37550.rs:17:13
27    |
28 LL |     let x = || t;
29    |             ^^^^
30    |
31    = help: add #![feature(const_let)] to the crate attributes to enable
32
33 error: aborting due to 4 previous errors
34
35 For more information about this error, try `rustc --explain E0658`.