]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/issue-82866.rs
Make some diagnostics not depend on the source of what they reference being available
[rust.git] / src / test / 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 }