1 error[E0435]: attempt to use a non-constant value in a constant
2 --> $DIR/issue-42060.rs:3:23
4 LL | let other: typeof(thing) = thing;
5 | ^^^^^ non-constant value
7 error[E0435]: attempt to use a non-constant value in a constant
8 --> $DIR/issue-42060.rs:9:13
11 | ^ non-constant value
13 error[E0516]: `typeof` is a reserved keyword but unimplemented
14 --> $DIR/issue-42060.rs:3:16
16 LL | let other: typeof(thing) = thing;
17 | ^^^^^^^^^^^^^ reserved keyword
19 error[E0516]: `typeof` is a reserved keyword but unimplemented
20 --> $DIR/issue-42060.rs:9:6
23 | ^^^^^^^^^ reserved keyword
25 error: aborting due to 4 previous errors
27 Some errors occurred: E0435, E0516.
28 For more information about an error, try `rustc --explain E0435`.