]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/main.stderr
Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27
[rust.git] / src / test / ui / mismatched_types / main.stderr
1 error[E0308]: mismatched types
2   --> $DIR/main.rs:2:18
3    |
4 LL |       let x: u32 = (
5    |  ____________---___^
6    | |            |
7    | |            expected due to this
8 LL | |     );
9    | |_____^ expected `u32`, found `()`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0308`.