1
Fork 0

resolve: Rewrite resolve_pattern

This commit is contained in:
Vadim Petrochenkov 2016-06-03 23:15:00 +03:00
parent ee00760a14
commit 91b9dabdeb
28 changed files with 347 additions and 491 deletions

View file

@ -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`
}
}