Minor improvement to strange grammar in E0525
This commit is contained in:
parent
ebe9682a25
commit
69520ce0a1
@ -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 where it didn't implement the expected trait.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user