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
}
}