]> git.lizzy.rs Git - rust.git/blob - tests/ui/closures/issue-87461.stderr
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / 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    |     arguments to this enum variant are incorrect
8    |
9 note: tuple variant defined here
10   --> $SRC_DIR/core/src/result.rs:LL:COL
11
12 error[E0308]: mismatched types
13   --> $DIR/issue-87461.rs:17:8
14    |
15 LL |     Ok(())
16    |     -- ^^ expected `u16`, found `()`
17    |     |
18    |     arguments to this enum variant are incorrect
19    |
20 note: tuple variant defined here
21   --> $SRC_DIR/core/src/result.rs:LL:COL
22
23 error[E0308]: mismatched types
24   --> $DIR/issue-87461.rs:26:12
25    |
26 LL |         Ok(())
27    |         -- ^^ expected `u16`, found `()`
28    |         |
29    |         arguments to this enum variant are incorrect
30    |
31 note: tuple variant defined here
32   --> $SRC_DIR/core/src/result.rs:LL:COL
33
34 error: aborting due to 3 previous errors
35
36 For more information about this error, try `rustc --explain E0308`.