Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
pattern
/
issue-72565.rs
blob: 1e262fd50676500b13d68ae42c49ba6d12202052 [
file
] [
log
] [
blame
]
const
F
:
&
'
static
dyn
PartialEq
<
u32
>
=
&
7u32
;
fn
main
()
{
let
a
:
&
dyn
PartialEq
<
u32
>
=
&
7u32
;
match
a
{
F
=>
panic
!(),
//~ ERROR: `&dyn PartialEq<u32>` cannot be used in patterns
}
}