summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/issue-82866.rs
blob: 95cd62261f10975d80933de888bffde161044fd7 (plain)
1
2
3
4
5
6
7
fn main() {
    match x {
        //~^ ERROR cannot find value `x` in this scope
        Some::<v>(v) => (),
        //~^ ERROR cannot find type `v` in this scope
    }
}