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.
This commit is contained in:
commit
11ad6fe52a
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
trait.
|
||||
A closure was used but didn't implement the expected trait.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue