We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c4f2c6 commit 85dbc65Copy full SHA for 85dbc65
src/librustc/traits/object_safety.rs
@@ -46,7 +46,7 @@ impl ObjectSafetyViolation {
46
"the trait cannot require that `Self : Sized`".into(),
47
ObjectSafetyViolation::SupertraitSelf =>
48
"the trait cannot use `Self` as a type parameter \
49
- in the supertrait listing".into(),
+ in the supertraits or where-clauses".into(),
50
ObjectSafetyViolation::Method(name, MethodViolationCode::StaticMethod) =>
51
format!("method `{}` has no receiver", name).into(),
52
ObjectSafetyViolation::Method(name, MethodViolationCode::ReferencesSelf) =>
0 commit comments