Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
consts
/
const_in_pattern
/
no-eq-branch-fail.stderr
blob: e505dad69be072f8b014abd77f21173dc8a54f45 [
file
] [
log
] [
blame
]
error
:
to
use
a constant of type
`Foo`
in
a pattern
,
`Foo`
must be annotated
with
`#[derive(PartialEq, Eq)]`
-->
$DIR
/
no
-
eq
-
branch
-
fail
.
rs
:
21
:
9
|
LL
|
BAR_BAZ
=>
panic
!(),
|
^^^^^^^
error
:
aborting due to previous error