rust/compiler/rustc_const_eval/src
Nicholas Nethercote 93e4b6ef06 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.
2022-06-14 13:06:44 +10:00
..
const_eval Rename the ConstS::val field as kind. 2022-06-14 13:06:44 +10:00
interpret Rename the ConstS::val field as kind. 2022-06-14 13:06:44 +10:00
transform Rename the ConstS::val field as kind. 2022-06-14 13:06:44 +10:00
util rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
lib.rs Try out yeet in the MIR interpreter 2022-06-11 23:08:06 -07:00