Skip to content

Commit 2d0cfdd

Browse files
---
yaml --- r: 236158 b: refs/heads/stable c: 3254ae6 h: refs/heads/master v: v3
1 parent 9f61225 commit 2d0cfdd

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: a7b8f5bc47966bc995004f5905f831be4b68d026
32+
refs/heads/stable: 3254ae6a527ddace29d9d740c57fdc6207624cfc
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/librustc_resolve/diagnostics.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,10 @@ Please verify you didn't misspell the import's name.
583583
"##,
584584

585585
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.
589590
590591
Here is an example that demonstrates the error:
591592
@@ -607,10 +608,10 @@ impl Foo for i32 {}
607608
"##,
608609

609610
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.
614615
615616
Here is an example that demonstrates the error:
616617

0 commit comments

Comments
 (0)