rust/compiler/rustc_const_eval/src/interpret
Tomasz Miąsko 67f455afe1 Suppress "erroneous constant used" for constants tainted by errors
When constant evaluation fails because its MIR is tainted by errors,
suppress note indicating that erroneous constant was used, since those
errors have to be fixed regardless of the constant being used or not.
2023-05-15 00:00:00 +00:00
..
intrinsics Implement Copy for LocationDetail 2023-04-13 18:04:30 +00:00
cast.rs Add CastKind::Transmute to MIR 2023-03-22 15:15:41 -07:00
discriminant.rs Various minor Idx-related tweaks 2023-04-16 02:42:50 -07:00
eval_context.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
intern.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
intrinsics.rs Lower intrinsics::offset to mir::BinOp::Offset 2023-04-25 19:23:45 -07:00
machine.rs Report a backtrace for memory leaks under Miri 2023-04-16 08:52:00 -04:00
memory.rs Report a backtrace for memory leaks under Miri 2023-04-16 08:52:00 -04:00
mod.rs Add UnwindAction::Unreachable 2023-04-06 09:34:16 +01:00
operand.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
operator.rs share BinOp::Offset between CTFE and Miri 2023-04-28 16:00:08 +02:00
place.rs Split {Idx, IndexVec, IndexSlice} into their own modules 2023-04-24 13:53:35 +00:00
projection.rs Use target instead of machine for mir interpreter integer handling. 2023-02-15 08:56:18 +00:00
step.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
terminator.rs Remove WithOptconstParam. 2023-04-20 17:48:32 +00:00
traits.rs add is_sized method on Abi and Layout, and use it 2022-11-13 12:23:53 +01:00
util.rs rename needs_subst to has_param 2023-04-27 08:35:19 +01:00
validity.rs Use trimmed paths in constantant validation errors 2023-04-27 00:33:52 +02:00
visitor.rs basic dyn* support for Miri 2023-02-20 15:08:05 +01:00