Merge PatKind::QPath into PatKind::Path in AST
This commit is contained in:
parent
d06f1dcd7d
commit
f903c97959
10 changed files with 24 additions and 46 deletions
|
@ -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`
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue