File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ error[E0435]: attempt to use a non-constant value in a constant
2+ --> $DIR/issue-42060.rs:13:23
3+ |
4+ LL | let other: typeof(thing) = thing; //~ ERROR attempt to use a non-constant value in a constant
5+ | ^^^^^ non-constant value
6+
7+ error[E0435]: attempt to use a non-constant value in a constant
8+ --> $DIR/issue-42060.rs:19:13
9+ |
10+ LL | <typeof(q)>::N //~ ERROR attempt to use a non-constant value in a constant
11+ | ^ non-constant value
12+
13+ error[E0516]: `typeof` is a reserved keyword but unimplemented
14+ --> $DIR/issue-42060.rs:13:16
15+ |
16+ LL | let other: typeof(thing) = thing; //~ ERROR attempt to use a non-constant value in a constant
17+ | ^^^^^^^^^^^^^ reserved keyword
18+
19+ error[E0516]: `typeof` is a reserved keyword but unimplemented
20+ --> $DIR/issue-42060.rs:19:6
21+ |
22+ LL | <typeof(q)>::N //~ ERROR attempt to use a non-constant value in a constant
23+ | ^^^^^^^^^ reserved keyword
24+
25+ error: aborting due to 4 previous errors
26+
27+ Some errors occurred: E0435, E0516.
28+ For more information about an error, try `rustc --explain E0435`.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ error: expected `|`, found `}`
2+ --> $DIR/issue-43196.rs:13:1
3+ |
4+ LL | |
5+ | - expected `|` here
6+ LL | }
7+ | ^ unexpected token
8+
9+ error: expected item, found `|`
10+ --> $DIR/issue-43196.rs:15:1
11+ |
12+ LL | |
13+ | ^ expected item
14+
15+ error: aborting due to 2 previous errors
16+
You can’t perform that action at this time.
0 commit comments