]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue32829.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue32829.stderr
1 error[E0658]: statements in constants are unstable (see issue #48821)
2   --> $DIR/issue32829.rs:17:9
3    |
4 LL |         5;
5    |         ^
6    |
7    = help: add #![feature(const_let)] to the crate attributes to enable
8
9 error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
10   --> $DIR/issue32829.rs:25:9
11    |
12 LL |         invalid();
13    |         ^^^^^^^^^
14
15 error[E0658]: statements in constants are unstable (see issue #48821)
16   --> $DIR/issue32829.rs:25:9
17    |
18 LL |         invalid();
19    |         ^^^^^^^^^
20    |
21    = help: add #![feature(const_let)] to the crate attributes to enable
22
23 error[E0658]: statements in constants are unstable (see issue #48821)
24   --> $DIR/issue32829.rs:34:9
25    |
26 LL |         valid();
27    |         ^^^^^^^
28    |
29    = help: add #![feature(const_let)] to the crate attributes to enable
30
31 error[E0658]: statements in statics are unstable (see issue #48821)
32   --> $DIR/issue32829.rs:42:9
33    |
34 LL |         5;
35    |         ^
36    |
37    = help: add #![feature(const_let)] to the crate attributes to enable
38
39 error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
40   --> $DIR/issue32829.rs:50:9
41    |
42 LL |         invalid();
43    |         ^^^^^^^^^
44
45 error[E0658]: statements in statics are unstable (see issue #48821)
46   --> $DIR/issue32829.rs:50:9
47    |
48 LL |         invalid();
49    |         ^^^^^^^^^
50    |
51    = help: add #![feature(const_let)] to the crate attributes to enable
52
53 error[E0658]: statements in statics are unstable (see issue #48821)
54   --> $DIR/issue32829.rs:59:9
55    |
56 LL |         valid();
57    |         ^^^^^^^
58    |
59    = help: add #![feature(const_let)] to the crate attributes to enable
60
61 error[E0658]: statements in statics are unstable (see issue #48821)
62   --> $DIR/issue32829.rs:67:9
63    |
64 LL |         5;
65    |         ^
66    |
67    = help: add #![feature(const_let)] to the crate attributes to enable
68
69 error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
70   --> $DIR/issue32829.rs:75:9
71    |
72 LL |         invalid();
73    |         ^^^^^^^^^
74
75 error[E0658]: statements in statics are unstable (see issue #48821)
76   --> $DIR/issue32829.rs:75:9
77    |
78 LL |         invalid();
79    |         ^^^^^^^^^
80    |
81    = help: add #![feature(const_let)] to the crate attributes to enable
82
83 error[E0658]: statements in statics are unstable (see issue #48821)
84   --> $DIR/issue32829.rs:84:9
85    |
86 LL |         valid();
87    |         ^^^^^^^
88    |
89    = help: add #![feature(const_let)] to the crate attributes to enable
90
91 error: aborting due to 12 previous errors
92
93 Some errors occurred: E0015, E0658.
94 For more information about an error, try `rustc --explain E0015`.