about summary refs log tree commit diff
path: root/compiler/rustc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-23 08:11:59 +0000
committerbors <bors@rust-lang.org>2023-09-23 08:11:59 +0000
commit0237aa3d771f4c6152c7d46a888ea89c538b121e (patch)
tree78f582992954a507120260c950b0c26ed8f25837 /compiler/rustc
parent136d74fab8503366fa8b2eb9099f9d7f1b4cb5ec (diff)
parent58ef3a0ec9a3e2151a103964683b5d00932304d8 (diff)
downloadrust-0237aa3d771f4c6152c7d46a888ea89c538b121e.tar.gz
rust-0237aa3d771f4c6152c7d46a888ea89c538b121e.zip
Auto merge of #116045 - notriddle:notriddle/issue-83556, r=cjgillot
diagnostics: avoid mismatch between variance index and hir generic

This happens because variances are constructed from ty generics, and ty generics are always constructed with lifetimes first.

https://github.com/rust-lang/rust/blob/b3aa8e7168a3d940122db3561289ffbf3f587262/compiler/rustc_hir_analysis/src/collect/generics_of.rs#L248-L269

Fixes #83556
Diffstat (limited to 'compiler/rustc')
0 files changed, 0 insertions, 0 deletions