about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/tests.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-06-29 12:14:04 +1000
committerZalathar <Zalathar@users.noreply.github.com>2023-08-01 11:29:55 +1000
commitf103db894fdcf94822d57cf28e30bc498c042631 (patch)
tree461dacc5e3344fe5662639681a58d54f84c3b1ee /compiler/rustc_mir_transform/src/coverage/tests.rs
parent1a014d42f45de1b829ca7916d8f639fda6e0770a (diff)
downloadrust-f103db894fdcf94822d57cf28e30bc498c042631.tar.gz
rust-f103db894fdcf94822d57cf28e30bc498c042631.zip
Make coverage expression IDs count up from 0, not down from `u32::MAX`
Operand types are now tracked explicitly, so there is no need for expression
IDs to avoid counter IDs by descending from `u32::MAX`. Instead they can just
count up from 0, and can be used directly as indices when necessary.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions