rust/compiler/rustc_borrowck
bors e7eaed21d5 Auto merge of #107969 - b-naber:proj-relate-variance, r=lcnr
Use covariance on type relations of field projection types if possible

It's fine to use covariance here unless we're in a mutating context.

Fixes https://github.com/rust-lang/rust/issues/96514

Supersedes https://github.com/rust-lang/rust/pull/105958

r? `@lcnr`
2023-02-20 09:25:51 +00:00
..
src Auto merge of #107969 - b-naber:proj-relate-variance, r=lcnr 2023-02-20 09:25:51 +00:00
Cargo.toml Do not use hir_ty_to_ty 2022-12-23 16:45:16 -08:00