Sign in
fuchsia
/
third_party
/
rust
/
f02ffb8b4ca760117875f3b5326e9cff6598dde3
/
.
/
src
/
test
/
run-fail
/
binop-fail-3.rs
blob: a7696fffda0c2976818a04964dabae1e2f844761 [
file
] [
log
] [
blame
]
// error-pattern:quux
fn
foo
()
->
!
{
panic
!(
"quux"
);
}
#[
allow
(
resolve_trait_on_defaulted_unit
)]
fn
main
()
{
foo
()
==
foo
();
// these types wind up being defaulted to ()
}