]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/issue-92100.rs
Auto merge of #93386 - WaffleLapkin:rustc_must_implement_one_of_check_target, r=nagisa
[rust.git] / src / test / ui / match / issue-92100.rs
1 #![feature(half_open_range_patterns)]
2
3 fn main() {
4     match [1, 2] {
5         [a.., a] => {} //~ ERROR cannot find value `a` in this scope
6     }
7 }