Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
pattern
/
usefulness
/
const-partial_eq-fallback-ice.stderr
blob: 358421cd6d24c6bdb5f3ffd68efef89218d5fefb [
file
] [
log
] [
blame
]
error
:
to
use
a constant of type
`MyType`
in
a pattern
,
`MyType`
must be annotated
with
`#[derive(PartialEq, Eq)]`
-->
$DIR
/
const
-
partial_eq
-
fallback
-
ice
.
rs
:
14
:
12
|
LL
|
if
let
CONSTANT
=
&&
MyType
{
|
^^^^^^^^
error
:
aborting due to previous error