c2rust
c2rust copied to clipboard
Better `impl`s for some `c2rust-analysis-rt` types
This adds better impls for some c2rust-analysis-rt types. Namely, we
- https://github.com/immunant/c2rust/commit/8230808bc590a45a492312cf8052f944d8132ba6: match
rustc's deriveimpls for mirrored types likeFingerprintandDefPathHash - https://github.com/immunant/c2rust/commit/2f596ae50aac109b1eeaa15eb60e2d2265b810e4: extend those same
impls to other typesimpled based onrustc-mirrored types, likeFunc(based onDefPathHash) - https://github.com/immunant/c2rust/commit/9fac146fb2a77d7e862ecb7581041ecfbf7c8722: omit
EventMetadata::debug_infofrom theEqandHashimpls, as it's just extra info