]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/main.stderr
Auto merge of #76110 - FedericoPonzi:convert-openoptions-cint, r=JoshTriplett
[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`.