]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gate-const_let.stderr
New upstream version 1.28.0~beta.14+dfsg1
[rustc.git] / src / test / ui / feature-gate-const_let.stderr
1 error[E0658]: let bindings in constant functions are unstable (see issue #48821)
2 --> $DIR/feature-gate-const_let.rs:16:13
3 |
4 LL | let x = 42;
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/feature-gate-const_let.rs:16:13
11 |
12 LL | let x = 42;
13 | ^^
14 |
15 = help: add #![feature(const_let)] to the crate attributes to enable
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0658`.