]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #35507 - hank-der-hafenarbeiter:master, r=jonathandturner
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Mon, 8 Aug 2016 20:25:59 +0000 (13:25 -0700)
committerGitHub <noreply@github.com>
Mon, 8 Aug 2016 20:25:59 +0000 (13:25 -0700)
Updated Error mesage to new format for E0221

Part of #35386
r? @jonathandturner

1  2 
src/librustc_typeck/astconv.rs
src/test/compile-fail/associated-type-projection-from-multiple-supertraits.rs

Simple merge
index 007f1d3a2947d300e540494a195f1428acd5fdc7,b311683b32e6e71e58d9c4192d2a94ece2aa43fe..a2a11c62bb83245a851c7158f7dea07901bcb2b9
@@@ -35,9 -36,9 +36,10 @@@ 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`
 +    //~| NOTE missing associated type `Color` value
  }
  
  fn paint<C:BoxCar>(c: C, d: C::Color) {