]> git.lizzy.rs Git - rust.git/blob - tests/ui/match/issue-82866.rs
Rollup merge of #105526 - Xiretza:iter-from-generator-derive, r=scottmcm
[rust.git] / tests / ui / match / issue-82866.rs
1 fn main() {
2     match x {
3         //~^ ERROR cannot find value `x` in this scope
4         Some::<v>(v) => (),
5         //~^ ERROR cannot find type `v` in this scope
6     }
7 }