]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binop-fail-3.rs
:arrow_up: rust-analyzer
[rust.git] / src / test / 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 }