1 error[E0308]: mismatched types
2 --> $DIR/issue-47486.rs:2:10
4 LL | () < std::mem::size_of::<_>();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found usize
7 = note: expected unit type `()`
10 error[E0282]: type annotations needed
11 --> $DIR/issue-47486.rs:3:11
13 LL | [0u8; std::mem::size_of::<_>()];
14 | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
16 error: aborting due to 2 previous errors
18 Some errors have detailed explanations: E0282, E0308.
19 For more information about an error, try `rustc --explain E0282`.