]> git.lizzy.rs Git - rust.git/blob - src/test/ui/closures/issue-87461.stderr
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / closures / issue-87461.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-87461.rs:10:8
3    |
4 LL |     Ok(())
5    |        ^^ expected `u16`, found `()`
6
7 error[E0308]: mismatched types
8   --> $DIR/issue-87461.rs:17:8
9    |
10 LL |     Ok(())
11    |        ^^ expected `u16`, found `()`
12
13 error[E0308]: mismatched types
14   --> $DIR/issue-87461.rs:26:12
15    |
16 LL |         Ok(())
17    |            ^^ expected `u16`, found `()`
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0308`.