mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 01:16:14 +03:00
ad1a0e626b
5175: More memory-efficient impl collection r=matklad a=jonas-schievink This saves roughly 90 MB in `ImplsFromDepsQuery`, which used to copy the list of all impls from libcore into *every* crate in the graph. It also stops collecting inherent impls from dependencies entirely, as those can only be located within the crate defining the self type. Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>