summary refs log tree commit diff
path: root/src/test/ui/issue-37550.stderr
blob: 7468510de6a33231c6b2ac407132c9137a64f716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error[E0658]: let bindings in constant functions are unstable (see issue #48821)
  --> $DIR/issue-37550.rs:14:13
   |
LL |     let t = true;
   |             ^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0658]: statements in constant functions are unstable (see issue #48821)
  --> $DIR/issue-37550.rs:14:13
   |
LL |     let t = true;
   |             ^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0658]: let bindings in constant functions are unstable (see issue #48821)
  --> $DIR/issue-37550.rs:17:13
   |
LL |     let x = || t;
   |             ^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0658]: statements in constant functions are unstable (see issue #48821)
  --> $DIR/issue-37550.rs:17:13
   |
LL |     let x = || t;
   |             ^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0658`.