diff options
| author | crypto-universe <ykp@protonmail.ch> | 2016-08-18 00:07:24 +0200 |
|---|---|---|
| committer | crypto-universe <ykp@protonmail.ch> | 2016-08-18 00:07:24 +0200 |
| commit | de5aaee0c5ee48a3ebaffa922846ed19321a8d2a (patch) | |
| tree | 7ecb4478a5233228a253dc49938c4555d5cb1877 | |
| parent | 7ac11cad3fe85163dd8b0ca1f63af492509f9bfe (diff) | |
| download | rust-de5aaee0c5ee48a3ebaffa922846ed19321a8d2a.tar.gz rust-de5aaee0c5ee48a3ebaffa922846ed19321a8d2a.zip | |
Updated test for E0221
As a part of issue #35233 ?r @GuillaumeGomez
| -rw-r--r-- | src/test/compile-fail/E0221.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0221.rs b/src/test/compile-fail/E0221.rs index 213ec5a0488..c67bfb822c0 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` } } |
