mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

generalize: track relevant info in cache key This was previously theoretically incomplete as we could incorrectly generalize as if the type was in an invariant context even though we're in a covariant one. Similar with the `in_alias` flag. r? `@compiler-errors`