ICE - Copy
trait was implemented on Drop implementation type
- [E0184]
#2510
Labels
Copy
trait was implemented on Drop implementation type
- [E0184]
#2510
ICE when a
Copy
trait was implemented onDrop implementation type
-E0184
Drop
andcopy
is currently disallowed in rustc. In theory it's seems correct but it's need careful implementation. See this Opt-in copy causes types that shouldn't be Copy to be copy rust-lang/rust#20126compiler-explorer
I tried this Code from
E0184
Meta
Error output
Backtrace
The text was updated successfully, but these errors were encountered: