Skip to content

Commit 69520ce

Browse files
authored
Minor improvement to strange grammar in E0525
1 parent ebe9682 commit 69520ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc/diagnostics.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,8 +1618,7 @@ fn cookie() -> ! { // error: definition of an unknown language item: `cookie`
16181618
"##,
16191619

16201620
E0525: r##"
1621-
A closure was attempted to get used whereas it doesn't implement the expected
1622-
trait.
1621+
A closure was used where it didn't implement the expected trait.
16231622
16241623
Erroneous code example:
16251624

0 commit comments

Comments
 (0)