rust/compiler/rustc_trait_selection/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
..
traits Rename the ConstS::val field as kind. 2022-06-14 13:06:44 +10:00
autoderef.rs Filter OnceNote in diagnostic infra. 2022-03-20 20:36:26 +01:00
infer.rs Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk" 2021-12-12 12:34:46 +08:00
lib.rs Finish bumping stage0 2022-05-27 07:36:17 -04:00
opaque_types.rs Rename the ConstS::val field as kind. 2022-06-14 13:06:44 +10:00