summary refs log tree commit diff
path: root/src/test/ui/issues/issue32829.stderr
blob: dad0880dbdfd7c4a7d9cf5cc2c8ba725076819de (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
error[E0658]: statements in constants are unstable (see issue #48821)
  --> $DIR/issue32829.rs:17:9
   |
LL |         5;
   |         ^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
  --> $DIR/issue32829.rs:25:9
   |
LL |         invalid();
   |         ^^^^^^^^^

error[E0658]: statements in constants are unstable (see issue #48821)
  --> $DIR/issue32829.rs:25:9
   |
LL |         invalid();
   |         ^^^^^^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0658]: statements in constants are unstable (see issue #48821)
  --> $DIR/issue32829.rs:34:9
   |
LL |         valid();
   |         ^^^^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0658]: statements in statics are unstable (see issue #48821)
  --> $DIR/issue32829.rs:42:9
   |
LL |         5;
   |         ^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
  --> $DIR/issue32829.rs:50:9
   |
LL |         invalid();
   |         ^^^^^^^^^

error[E0658]: statements in statics are unstable (see issue #48821)
  --> $DIR/issue32829.rs:50:9
   |
LL |         invalid();
   |         ^^^^^^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0658]: statements in statics are unstable (see issue #48821)
  --> $DIR/issue32829.rs:59:9
   |
LL |         valid();
   |         ^^^^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0658]: statements in statics are unstable (see issue #48821)
  --> $DIR/issue32829.rs:67:9
   |
LL |         5;
   |         ^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
  --> $DIR/issue32829.rs:75:9
   |
LL |         invalid();
   |         ^^^^^^^^^

error[E0658]: statements in statics are unstable (see issue #48821)
  --> $DIR/issue32829.rs:75:9
   |
LL |         invalid();
   |         ^^^^^^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error[E0658]: statements in statics are unstable (see issue #48821)
  --> $DIR/issue32829.rs:84:9
   |
LL |         valid();
   |         ^^^^^^^
   |
   = help: add #![feature(const_let)] to the crate attributes to enable

error: aborting due to 12 previous errors

Some errors occurred: E0015, E0658.
For more information about an error, try `rustc --explain E0015`.