]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/issue-10200.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / resolve / issue-10200.rs
CommitLineData
1a4d82fc
JJ
1struct Foo(bool);
2fn foo(_: usize) -> Foo { Foo(false) }
223e47cc
LB
3
4fn main() {
1a4d82fc 5 match Foo(true) {
e74abb32 6 foo(x) //~ ERROR expected tuple struct or tuple variant, found function `foo`
1a4d82fc
JJ
7 => ()
8 }
223e47cc 9}