Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
match
/
issue-92100.rs
blob: baac570dd8a9d5344de4b12f7fd9a77571efe1e9 [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
half_open_range_patterns_in_slices
)]
fn
main
()
{
match
[
1
,
2
]
{
[
a
..,
a
]
=>
{}
//~ ERROR cannot find value `a` in this scope
}
}