rust/compiler/rustc_const_eval/src/interpret
Nicholas Nethercote e0a0cc2971 Remove dcx arg from ReportErrorExt::add_args.
Because it also has a `DiagnosticBuilder` arg, which contains a `dcx`
reference.

Also rename some `builder` variables as `diag`, because that's the usual
name.
2024-02-12 18:39:18 +11:00
..
cast.rs Compute unsizing casts in GVN. 2024-02-09 21:01:57 +00:00
discriminant.rs interpret/write_discriminant: when encoding niched variant, ensure the stored value matches 2024-02-10 15:33:58 +01:00
eval_context.rs Remove dcx arg from ReportErrorExt::add_args. 2024-02-12 18:39:18 +11:00
intern.rs Clarify order of operations during interning 2024-02-05 22:21:40 +01:00
intrinsics.rs Add CoroutineClosure to TyKind, AggregateKind, UpvarArgs 2024-02-06 02:22:58 +00:00
machine.rs Add a doc comment for eval_mir_constant 2024-01-23 10:17:50 -05:00
memory.rs interpret: rename ReadExternStatic → ExternStatic 2024-02-10 16:06:02 +01:00
mod.rs validation: descend from consts into statics 2024-02-10 16:13:47 +01:00
operand.rs add test for GVN issue; cleanup in dataflow_const_prop 2024-01-26 10:40:29 +01:00
operator.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
place.rs Auto merge of #119627 - oli-obk:const_prop_lint_n̵o̵n̵sense, r=cjgillot 2024-01-25 03:16:07 +00:00
projection.rs interpret/visitor: ensure we only see normalized types 2024-02-10 17:00:24 +01:00
step.rs Add a new debug_assertions instrinsic (compiler) 2024-02-08 11:49:08 -05:00
terminator.rs Rollup merge of #120354 - lukas-code:metadata-normalize, r=lcnr 2024-02-09 19:21:16 +01:00
traits.rs make it more clear which functions create fresh AllocId 2023-09-14 07:27:31 +02:00
util.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
validity.rs detect consts that reference extern statics 2024-02-10 16:13:48 +01:00
visitor.rs interpret/visitor: ensure we only see normalized types 2024-02-10 17:00:24 +01:00