about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorhank-der-hafenarbeiter <kevinkielholz@web.de>2016-08-08 19:14:03 +0200
committerhank-der-hafenarbeiter <kevinkielholz@web.de>2016-08-08 20:52:00 +0200
commit6eb0218075aa0bfcfd96c6872b30b64dbde1a8d6 (patch)
treebe1e492d5837b1a133856cd14e87779c105169e2 /src
parenta403ddf36dba3d3413c5a18268f357a6eee989ab (diff)
downloadrust-6eb0218075aa0bfcfd96c6872b30b64dbde1a8d6.tar.gz
rust-6eb0218075aa0bfcfd96c6872b30b64dbde1a8d6.zip
updated unit test!
Diffstat (limited to 'src')
-rw-r--r--src/test/compile-fail/associated-type-projection-from-multiple-supertraits.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/compile-fail/associated-type-projection-from-multiple-supertraits.rs b/src/test/compile-fail/associated-type-projection-from-multiple-supertraits.rs
index 2b34fcab24c..b311683b32e 100644
--- a/src/test/compile-fail/associated-type-projection-from-multiple-supertraits.rs
+++ b/src/test/compile-fail/associated-type-projection-from-multiple-supertraits.rs
@@ -28,6 +28,7 @@ pub trait BoxCar : Box + Vehicle {
 
 fn dent<C:BoxCar>(c: C, color: C::Color) {
     //~^ ERROR ambiguous associated type `Color` in bounds of `C`
+    //~| NOTE ambiguous associated type `Color`
     //~| NOTE could derive from `Vehicle`
     //~| NOTE could derive from `Box`
 }
@@ -35,12 +36,14 @@ fn dent<C:BoxCar>(c: C, color: C::Color) {
 fn dent_object<COLOR>(c: BoxCar<Color=COLOR>) {
     //~^ ERROR ambiguous associated type
     //~| ERROR the value of the associated type `Color` (from the trait `Vehicle`) must be specified
+    //~| NOTE ambiguous associated type `Color`
     //~| NOTE could derive from `Vehicle`
     //~| NOTE could derive from `Box`
 }
 
 fn paint<C:BoxCar>(c: C, d: C::Color) {
     //~^ ERROR ambiguous associated type `Color` in bounds of `C`
+    //~| NOTE ambiguous associated type `Color`
     //~| NOTE could derive from `Vehicle`
     //~| NOTE could derive from `Box`
 }