]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-37026.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-37026.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-37026.rs:6:9
3    |
4 LL |     let empty_struct::XEmpty2 = ();
5    |         ^^^^^^^^^^^^^^^^^^^^^ expected (), found struct `empty_struct::XEmpty2`
6
7 error[E0308]: mismatched types
8   --> $DIR/issue-37026.rs:7:9
9    |
10 LL |     let empty_struct::XEmpty6(..) = ();
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found struct `empty_struct::XEmpty6`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0308`.