]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/main.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / mismatched_types / main.stderr
1 error[E0308]: mismatched types
2   --> $DIR/main.rs:12:18
3    |
4 LL |       let x: u32 = ( //~ ERROR mismatched types
5    |  __________________^
6 LL | |     );
7    | |_____^ expected u32, found ()
8    |
9    = note: expected type `u32`
10               found type `()`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.