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