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