blob: e2ca54caeac054877c1fcf605038209e5395a71d (
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 1 previous error
For more information about this error, try `rustc --explain E0308`.
|