From de5aaee0c5ee48a3ebaffa922846ed19321a8d2a Mon Sep 17 00:00:00 2001 From: crypto-universe Date: Thu, 18 Aug 2016 00:07:24 +0200 Subject: [PATCH] Updated test for E0221 As a part of issue #35233 ?r @GuillaumeGomez --- src/test/compile-fail/E0221.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/compile-fail/E0221.rs b/src/test/compile-fail/E0221.rs index 213ec5a04888..c67bfb822c06 100644 --- a/src/test/compile-fail/E0221.rs +++ b/src/test/compile-fail/E0221.rs @@ -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` } }