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,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…
Reference in New Issue
Block a user