Derive PartialEq Analysis#907
Derive PartialEq Analysis#907bors-servo merged 12 commits intorust-lang:masterfrom photoszzt:derive_partial_eq
Conversation
|
☔ The latest upstream changes (presumably #906) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@bors-servo r+ Thanks @photoszzt, looks perfect :) We should figure out a way to DRY up all of these derive-related analysis, but I need to think about how to change our abstractions to be more precise about this stuff some more. |
|
📌 Commit dc2baed has been approved by |
|
@fitzgen the CanDeriveTrivially{Debug, Copy...} are also very redundant. I notice that the stable rust is still generating the BindgenUnion with Copy field. Next step would be enable those in stable. I'm not sure which version of Rust has stable union. 19? Or something previous? |
|
☀️ Test successful - status-travis |
You can do I thought we should be generating |
Fix: #878 r? @fitzgen