about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-06-10 11:18:06 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-06-14 13:06:44 +1000
commit93e4b6ef06888085dc60d073ca9d66f2d7282112 (patch)
treebb49d15663c725f09f9ee9be9ead04b8b97945a4 /compiler/rustc_mir_transform/src/coverage/debug.rs
parentca122c7ebb3ab50149c9d3d24ddb59c252b32272 (diff)
downloadrust-93e4b6ef06888085dc60d073ca9d66f2d7282112.tar.gz
rust-93e4b6ef06888085dc60d073ca9d66f2d7282112.zip
Rename the `ConstS::val` field as `kind`.
And likewise for the `Const::val` method.

Because its type is called `ConstKind`. Also `val` is a confusing name
because `ConstKind` is an enum with seven variants, one of which is
called `Value`. Also, this gives consistency with `TyS` and `PredicateS`
which have `kind` fields.

The commit also renames a few `Const` variables from `val` to `c`, to
avoid confusion with the `ConstKind::Value` variant.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions