File tree 1 file changed +8
-7
lines changed 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -583,9 +583,10 @@ Please verify you didn't misspell the import's name.
583
583
"## ,
584
584
585
585
E0437 : r##"
586
- Trait impls can only implement associated types that are members of the trait in
587
- question. This error indicates that you attempted to implement an associated
588
- type whose name does not match the name of any associated type in the trait.
586
+ Trait implementations can only implement associated types that are members of
587
+ the trait in question. This error indicates that you attempted to implement
588
+ an associated type whose name does not match the name of any associated type
589
+ in the trait.
589
590
590
591
Here is an example that demonstrates the error:
591
592
@@ -607,10 +608,10 @@ impl Foo for i32 {}
607
608
"## ,
608
609
609
610
E0438 : r##"
610
- Trait impls can only implement associated constants that are members of the
611
- trait in question. This error indicates that you attempted to implement an
612
- associated constant whose name does not match the name of any associated
613
- constant in the trait.
611
+ Trait implementations can only implement associated constants that are
612
+ members of the trait in question. This error indicates that you
613
+ attempted to implement an associated constant whose name does not
614
+ match the name of any associated constant in the trait.
614
615
615
616
Here is an example that demonstrates the error:
616
617
You can’t perform that action at this time.
0 commit comments