Rollup merge of #35770 - crypto-universe:E0221, r=jonathandturner

Updated test for E0221

As a part of issue #35233
?r @GuillaumeGomez
This commit is contained in:
Eduard-Mihai Burtescu 2016-08-18 06:12:23 +03:00 committed by GitHub
commit d69cd7207b

View File

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