File tree Expand file tree Collapse file tree 6 files changed +54
-0
lines changed Expand file tree Collapse file tree 6 files changed +54
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ error: this expression will panic at runtime
2+ --> $DIR/issue-34784.rs:15:9
3+ |
4+ LL | C => {}
5+ | ^ "pointer arithmetic or comparison" needs an rfc before being allowed inside constants
6+ |
7+ = note: #[deny(const_err)] on by default
8+
9+ error: aborting due to previous error
10+
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