resolve: Rewrite resolve_pattern
This commit is contained in:
parent
ee00760a14
commit
91b9dabdeb
28 changed files with 347 additions and 491 deletions
|
@ -19,6 +19,6 @@ impl MyTrait for Foo {}
|
|||
fn main() {
|
||||
match 0u32 {
|
||||
<Foo as MyTrait>::trait_bar => {}
|
||||
//~^ ERROR `trait_bar` is not an associated const
|
||||
//~^ ERROR expected associated constant, found method `trait_bar`
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue