We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee84c30 commit 11f7418Copy full SHA for 11f7418
src/librustc_error_codes/error_codes/E0191.md
@@ -1,5 +1,6 @@
1
-Trait objects need to have all associated types specified. Erroneous code
2
-example:
+An associated type wasn't specified for a trait object.
+
3
+Erroneous code example:
4
5
```compile_fail,E0191
6
trait Trait {
@@ -10,8 +11,9 @@ type Foo = Trait; // error: the value of the associated type `Bar` (from
10
11
// the trait `Trait`) must be specified
12
```
13
-Please verify you specified all associated types of the trait and that you
14
-used the right trait. Example:
+Trait objects need to have all associated types specified. Please verify that
15
+all associated types of the trait were specified and the correct trait was used.
16
+Example:
17
18
19
0 commit comments