We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87fdf35 + 88100ba commit 6b6c470Copy full SHA for 6b6c470
src/librustc_error_codes/error_codes/E0404.md
@@ -1,5 +1,5 @@
1
-You tried to use something which is not a trait in a trait position, such as
2
-a bound or `impl`.
+A type that is not a trait was used in a trait position, such as a bound
+or `impl`.
3
4
Erroneous code example:
5
@@ -18,8 +18,8 @@ struct Foo;
18
fn bar<T: Foo>(t: T) {} // error: `Foo` is not a trait
19
```
20
21
-Please verify that you didn't misspell the trait's name or otherwise use the
22
-wrong identifier. Example:
+Please verify that the trait's name was not misspelled or that the right
+identifier was used. Example:
23
24
25
trait Foo {
@@ -32,7 +32,7 @@ impl Foo for Bar { // ok!
32
}
33
34
35
-or
+or:
36
37
38
0 commit comments