]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/main.stderr
Do not show `::constructor` on tuple struct diagnostics
[rust.git] / src / test / ui / mismatched_types / main.stderr
1 error[E0308]: mismatched types
2   --> $DIR/main.rs:12:18
3    |
4 12 |       let x: u32 = (
5    |  __________________^ starting here...
6 13 | |     );
7    | |_____^ ...ending here: expected u32, found ()
8    |
9    = note: expected type `u32`
10               found type `()`
11
12 error: aborting due to previous error
13