]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-47486.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-47486.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-47486.rs:2:10
3    |
4 LL |     () < std::mem::size_of::<_>();
5    |          ^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found usize
6
7 error[E0282]: type annotations needed
8   --> $DIR/issue-47486.rs:3:11
9    |
10 LL |     [0u8; std::mem::size_of::<_>()];
11    |           ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
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`.