]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/issue-92100.rs
Make some diagnostics not depend on the source of what they reference being available
[rust.git] / src / test / ui / match / issue-92100.rs
1 #![feature(half_open_range_patterns_in_slices)]
2
3 fn main() {
4     match [1, 2] {
5         [a.., a] => {} //~ ERROR cannot find value `a` in this scope
6     }
7 }