about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/tests.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-09-21 17:14:58 -0700
committerMichael Howell <michael@notriddle.com>2023-09-21 17:21:07 -0700
commit3799af3337d748647ca6c4abbad63975275a7a37 (patch)
tree19f7d9e12ce7971585859b3795164c74c60a1c3d /compiler/rustc_mir_transform/src/coverage/tests.rs
parentb3aa8e7168a3d940122db3561289ffbf3f587262 (diff)
downloadrust-3799af3337d748647ca6c4abbad63975275a7a37.tar.gz
rust-3799af3337d748647ca6c4abbad63975275a7a37.zip
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.

See compiler/rustc_hir_analysis/src/collect/generics_of.rs:248-269

Fixes #83556
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions