]> git.proxmox.com Git - rustc.git/blob - tests/ui/span/issue-40157.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / span / issue-40157.rs
1 fn main () {
2 {println!("{:?}", match { let foo = vec![1, 2]; foo.get(1) } { x => x });}
3 //~^ ERROR does not live long enough
4 }