]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/brace-after-qualified-path-in-match.rs
Auto merge of #56827 - faern:eliminate-recv-timeout-panic, r=KodrAus
[rust.git] / src / test / ui / parser / brace-after-qualified-path-in-match.rs
1 // compile-flags: -Z parse-only
2
3 fn foo() {
4     match x {
5         <T as Trait>::Type{key: value} => (),
6         //~^ ERROR unexpected `{` after qualified path
7         _ => (),
8     }
9 }