]> git.lizzy.rs Git - rust.git/blob - tests/ui/binop/binop-fail-3.rs
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / binop / binop-fail-3.rs
1 // run-fail
2 // error-pattern:quux
3 // ignore-emscripten no processes
4
5 fn foo() -> ! {
6     panic!("quux");
7 }
8
9 fn main() {
10     foo() == foo(); // these types wind up being defaulted to ()
11 }