]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0435]: attempt to use a non-constant value in a constant |
0731742a | 2 | --> $DIR/issue-42060.rs:3:23 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | let other: typeof(thing) = thing; |
8faf50e0 XL |
5 | | ^^^^^ non-constant value |
6 | ||
7 | error[E0435]: attempt to use a non-constant value in a constant | |
0731742a | 8 | --> $DIR/issue-42060.rs:9:13 |
8faf50e0 | 9 | | |
532ac7d7 | 10 | LL | <typeof(q)>::N |
8faf50e0 XL |
11 | | ^ non-constant value |
12 | ||
13 | error[E0516]: `typeof` is a reserved keyword but unimplemented | |
0731742a | 14 | --> $DIR/issue-42060.rs:3:16 |
8faf50e0 | 15 | | |
532ac7d7 | 16 | LL | let other: typeof(thing) = thing; |
8faf50e0 XL |
17 | | ^^^^^^^^^^^^^ reserved keyword |
18 | ||
19 | error[E0516]: `typeof` is a reserved keyword but unimplemented | |
0731742a | 20 | --> $DIR/issue-42060.rs:9:6 |
8faf50e0 | 21 | | |
532ac7d7 | 22 | LL | <typeof(q)>::N |
8faf50e0 XL |
23 | | ^^^^^^^^^ reserved keyword |
24 | ||
25 | error: aborting due to 4 previous errors | |
26 | ||
48663c56 | 27 | Some errors have detailed explanations: E0435, E0516. |
8faf50e0 | 28 | For more information about an error, try `rustc --explain E0435`. |