File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3827,7 +3827,7 @@ impl Resolver {
3827
3827
let path_str = self . idents_to_str( trait_reference. path. idents) ;
3828
3828
3829
3829
let usage_str = match reference_type {
3830
- TraitBoundingTypeParameter => "bound type parameter to " ,
3830
+ TraitBoundingTypeParameter => "bound type parameter with " ,
3831
3831
TraitImplementation => "implement" ,
3832
3832
TraitDerivation => "derive"
3833
3833
} ;
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ impl SomeNonExistentTrait for int {}
16
16
//~^ ERROR attempt to implement a nonexistent trait `SomeNonExistentTrait`
17
17
18
18
fn f < T : SomeNonExistentTrait > ( ) { }
19
- //~^ ERROR attempt to bound type parameter to a nonexistent trait `SomeNonExistentTrait`
19
+ //~^ ERROR attempt to bound type parameter with a nonexistent trait `SomeNonExistentTrait`
20
20
You can’t perform that action at this time.
0 commit comments