Browse files

Auto merge of #39072 - radix:patch-1, r=GuillaumeGomez

Minor improvement to strange grammar in E0525

Hi, I just ran into this error from rustc, and it had some strange grammar, so I cleaned it up a bit.
  • Loading branch information...
2 parents 14bfdfd + ac321a7 commit 11ad6fe52aa201fadee8f1084b95793d5cc39bdc @bors bors committed Jan 16, 2017
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/librustc/
@@ -1618,8 +1618,7 @@ fn cookie() -> ! { // error: definition of an unknown language item: `cookie`
E0525: r##"
-A closure was attempted to get used whereas it doesn't implement the expected
+A closure was used but didn't implement the expected trait.
Erroneous code example:

0 comments on commit 11ad6fe

Please sign in to comment.