]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-47486.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-47486.stderr
1 error[E0282]: type annotations needed
2 --> $DIR/issue-47486.rs:3:31
3 |
4 LL | [0u8; std::mem::size_of::<_>()];
5 | ^ cannot infer type
6
7 error[E0308]: mismatched types
8 --> $DIR/issue-47486.rs:2:10
9 |
10 LL | () < std::mem::size_of::<_>();
11 | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `usize`
12
13 error: aborting due to 2 previous errors
14
15 Some errors have detailed explanations: E0282, E0308.
16 For more information about an error, try `rustc --explain E0282`.