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:
commit
191a7965b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue