]> git.lizzy.rs Git - rust.git/blob - src/test/ui/closures/issue-84128.stderr
Auto merge of #84589 - In-line:zircon-thread-name, r=JohnTitor
[rust.git] / src / test / ui / closures / issue-84128.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-84128.rs:13:13
3    |
4 LL |         Foo(())
5    |             ^^ expected integer, found `()`
6    |
7 note: return type inferred to be `{integer}` here
8   --> $DIR/issue-84128.rs:10:20
9    |
10 LL |             return Foo(0);
11    |                    ^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.