1 error[E0658]: let bindings in constants are unstable (see issue #48821)
2 --> $DIR/feature-gate-const_let.rs:6:13
7 = help: add #![feature(const_let)] to the crate attributes to enable
9 error[E0658]: statements in constants are unstable (see issue #48821)
10 --> $DIR/feature-gate-const_let.rs:6:13
15 = help: add #![feature(const_let)] to the crate attributes to enable
17 error[E0658]: let bindings in constants are unstable (see issue #48821)
18 --> $DIR/feature-gate-const_let.rs:3:1
20 LL | / const FOO: usize = {
21 LL | | //~^ ERROR statements in constants are unstable
22 LL | | //~| ERROR: let bindings in constants are unstable
29 = help: add #![feature(const_let)] to the crate attributes to enable
31 error[E0658]: statements in constants are unstable (see issue #48821)
32 --> $DIR/feature-gate-const_let.rs:3:1
34 LL | / const FOO: usize = {
35 LL | | //~^ ERROR statements in constants are unstable
36 LL | | //~| ERROR: let bindings in constants are unstable
43 = help: add #![feature(const_let)] to the crate attributes to enable
45 error[E0658]: let bindings in statics are unstable (see issue #48821)
46 --> $DIR/feature-gate-const_let.rs:15:13
51 = help: add #![feature(const_let)] to the crate attributes to enable
53 error[E0658]: statements in statics are unstable (see issue #48821)
54 --> $DIR/feature-gate-const_let.rs:15:13
59 = help: add #![feature(const_let)] to the crate attributes to enable
61 error[E0658]: let bindings in statics are unstable (see issue #48821)
62 --> $DIR/feature-gate-const_let.rs:12:1
64 LL | / static BAR: usize = {
65 LL | | //~^ ERROR statements in statics are unstable
66 LL | | //~| ERROR: let bindings in statics are unstable
73 = help: add #![feature(const_let)] to the crate attributes to enable
75 error[E0658]: statements in statics are unstable (see issue #48821)
76 --> $DIR/feature-gate-const_let.rs:12:1
78 LL | / static BAR: usize = {
79 LL | | //~^ ERROR statements in statics are unstable
80 LL | | //~| ERROR: let bindings in statics are unstable
87 = help: add #![feature(const_let)] to the crate attributes to enable
89 error: aborting due to 8 previous errors
91 For more information about this error, try `rustc --explain E0658`.