blob: 2407ece5e4f7d1f6e0c77e64d7f1d1860b5774ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0308]: mismatched types
--> $DIR/issue-22684.rs:17:17
|
LL | let _: () = foo::Foo.bar();
| -- ^^^^^^^^^^^^^^ expected `()`, found `bool`
| |
| expected due to this
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|