Rollup merge of #72567 - GuillaumeGomez:cleanup-e0608, r=Dylan-DPC

Clean up E0608 explanation

r? @Dylan-DPC
This commit is contained in:
Dylan DPC 2020-05-25 18:07:48 +02:00 committed by GitHub
commit aa8d64b005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
An attempt to index into a type which doesn't implement the `std::ops::Index`
An attempt to use index on a type which doesn't implement the `std::ops::Index`
trait was performed.
Erroneous code example: