rust/compiler/rustc_const_eval/src
Nicholas Nethercote b38ed1afa6 Overhaul Diagnostic args.
First, introduce a typedef `DiagnosticArgMap`.

Second, make the `args` field public, and remove the `args` getter and
`replace_args` setter. These were necessary previously because the getter
had a `#[allow(rustc::potential_query_instability)]` attribute, but that
was removed in #120931 when the args were changed from `FxHashMap` to
`FxIndexMap`. (All the other `Diagnostic` fields are public.)
2024-02-22 12:51:05 +11:00
..
const_eval Rollup merge of #121396 - RalfJung:mir-const-value-inspect, r=oli-obk 2024-02-21 16:33:00 +01:00
interpret Overhaul Diagnostic args. 2024-02-22 12:51:05 +11:00
transform Convert delayed_bugs to bugs. 2024-02-21 10:20:05 +11:00
util make it possible for outside crates to inspect a mir::ConstValue with the interpreter 2024-02-21 14:32:52 +01:00
errors.rs Overhaul Diagnostic args. 2024-02-22 12:51:05 +11:00
lib.rs Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnay 2024-02-16 07:46:31 +00:00