]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22684.stderr
20a0d6f41033863c77cbd0bf3fd621cf2d5d5a20
[rust.git] / src / test / ui / issues / issue-22684.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-22684.rs:17:17
3    |
4 LL |     let _: () = foo::Foo.bar();
5    |                 ^^^^^^^^^^^^^^ expected (), found bool
6    |
7    = note: expected unit type `()`
8                    found type `bool`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.