mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
dfe024e104
rustc_metadata: Filter encoded data more aggressively using `DefKind` I focused on data that contains spans, because spans are expensive to encode/decode/hash, but also touched `should_encode_visibility` too. One incorrect use of impl visibility in diagnostics is also replaced with trait visibility.