提交 908a22b6 编写于 作者: G Gareth Smith

Address @catamorphism's error message grammar nit.

上级 656c8f91
......@@ -3827,7 +3827,7 @@ pub fn resolve_trait_reference(@mut self,
let path_str = self.idents_to_str(trait_reference.path.idents);
let usage_str = match reference_type {
TraitBoundingTypeParameter => "bound type parameter to",
TraitBoundingTypeParameter => "bound type parameter with",
TraitImplementation => "implement",
TraitDerivation => "derive"
};
......
......@@ -16,5 +16,5 @@ impl SomeNonExistentTrait for int {}
//~^ ERROR attempt to implement a nonexistent trait `SomeNonExistentTrait`
fn f<T:SomeNonExistentTrait>() {}
//~^ ERROR attempt to bound type parameter to a nonexistent trait `SomeNonExistentTrait`
//~^ ERROR attempt to bound type parameter with a nonexistent trait `SomeNonExistentTrait`
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册