Sign in
fuchsia
/
third_party
/
rust
/
0f11354a9c1bf0c5ac250c7fa2bafc289a662f42
/
.
/
src
/
test
/
ui
/
consts
/
match_ice.rs
blob: 53c5782a4c70e53d8b0c3854c8be8476126f0f27 [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/53708
struct
S
;
fn
main
()
{
const
C
:
&
S
=
&
S
;
match
C
{
//~ ERROR non-exhaustive
C
=>
{}
// this is a common bug around constants and references in patterns
}
}