1
Fork 0

Merge PatKind::QPath into PatKind::Path in AST

This commit is contained in:
Vadim Petrochenkov 2016-06-11 18:47:47 +03:00
parent d06f1dcd7d
commit f903c97959
10 changed files with 24 additions and 46 deletions

View file

@ -19,6 +19,6 @@ impl MyTrait for Foo {}
fn main() {
match 0u32 {
<Foo as MyTrait>::trait_bar => {}
//~^ ERROR expected associated constant, found method `trait_bar`
//~^ ERROR expected variant, struct or constant, found method `trait_bar`
}
}