Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
pattern
/
usefulness
/
issue-66501.rs
blob: e7a36ba3463e965df5aac265a3b4406c22243f83 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
allow
(
unreachable_patterns
)]
fn
main
()
{
const
CONST
:
&[
Option
<()>;
1
]
=
&[
Some
(())];
match
&[
Some
(())]
{
&[
None
]
=>
{}
CONST
=>
{}
&[
Some
(())]
=>
{}
}
}