Rollup merge of #69991 - contrun:fix-69980, r=Dylan-DPC

fix E0117 message out of sync

Closes https://github.com/rust-lang/rust/issues/69980
This commit is contained in:
Dylan DPC 2020-03-15 02:44:22 +01:00 committed by GitHub
commit 191a7965b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
The `Drop` trait was implemented on a non-struct type.
Only traits defined in the current crate can be implemented for arbitrary types.
Erroneous code example: