Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
76d4bfb1c62e6e0a6fc64ceaa39472b0790419c7
/
.
/
tests
/
crashes
/
125185.rs
blob: 8693d6c7662b23c9086c0297b60959794a975775 [
file
] [
log
] [
blame
]
//@ known-bug: rust-lang/rust#125185
//@ compile-flags: -Zvalidate-mir
type
Foo
=
impl
Send
;
struct
A
;
const
VALUE
:
Foo
=
value
();
fn
test
(
foo
:
Foo
<
'a>, f: impl for<'
b
>
FnMut
())
{
match
VALUE
{
0
|
0
=>
{}
_
=>
(),
}
}