]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/main.stderr
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup
[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`.