Compute variances for lazy type aliases

This commit is contained in:
León Orell Valerian Liehr 2023-08-03 01:03:31 +02:00
parent 8131b9774e
commit 263a0dec60
No known key found for this signature in database
GPG key ID: D17A07215F68E713
7 changed files with 109 additions and 13 deletions

View file

@ -749,7 +749,7 @@ rustc_queries! {
separate_provide_extern
}
/// Gets a map with the variance of every item; use `item_variance` instead.
/// Gets a map with the variance of every item; use `variances_of` instead.
query crate_variances(_: ()) -> &'tcx ty::CrateVariancesMap<'tcx> {
arena_cache
desc { "computing the variances for items in this crate" }