about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_typeck/diagnostics.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs
index 4e9bcab2e9c..19ca825cf35 100644
--- a/src/librustc_typeck/diagnostics.rs
+++ b/src/librustc_typeck/diagnostics.rs
@@ -1535,11 +1535,11 @@ For information on the design of the orphan rules, see [RFC 1023].
 
 E0118: r##"
 Rust can't find a base type for an implementation you are providing, or the type
-cannot have an implementation. For example, a typedef can't have an
-implementation, since it isn't its own type (this was done in PR #6087):
+cannot have an implementation. For example, only a named type or a trait can
+have an implementation:
 
 ```
-type NineString = [char, ..9]
+type NineString = [char, ..9] // This isn't a named type (struct, enum or trait)
 impl NineString {
     // Some code here
 }