Minor improvement to strange grammar in E0525

This commit is contained in:
Christopher Armstrong 2017-01-14 18:59:33 -06:00 committed by GitHub
parent ebe9682a25
commit 69520ce0a1

View File

@ -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: