]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/main.stderr
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[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`.