]> git.lizzy.rs Git - rust.git/commitdiff
Merge #5175
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 1 Jul 2020 17:12:06 +0000 (17:12 +0000)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2020 17:12:06 +0000 (17:12 +0000)
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>

Trivial merge