Skip to content

Commit

Permalink
Rollup merge of #35770 - crypto-universe:E0221, r=jonathandturner
Browse files Browse the repository at this point in the history
Updated test for E0221

As a part of issue #35233
?r @GuillaumeGomez
  • Loading branch information
eddyb authored Aug 18, 2016
2 parents d36b296 + ed54226 commit d69cd72
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/compile-fail/E0221.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ trait Foo {
trait Bar : Foo {
type A: T2;
fn do_something() {
let _: Self::A; //~ ERROR E0221
let _: Self::A;
//~^ ERROR E0221
//~| NOTE ambiguous associated type `A`
//~| NOTE associated type `Self` could derive from `Foo`
//~| NOTE associated type `Self` could derive from `Bar`
}
}

Expand Down

0 comments on commit d69cd72

Please sign in to comment.