rust/compiler/rustc_const_eval/src/interpret
Matthias Krüger 3087b63d1f
Rollup merge of #117373 - saethlin:avoid-ice-lint, r=compiler-errors
Avoid the path trimming ICE lint in error reporting

Types or really anything in MIR should never be formatted without path trimming disabled, because its formatting often tries to construct trimmed paths. In this case, the lint turns a nice error report into an irrelevant ICE.
2023-11-01 21:40:05 +01:00
..
cast.rs Avoid the path trimming ICE lint in error reporting 2023-11-01 10:54:07 -04:00
discriminant.rs Evaluate computed values to constants. 2023-10-25 06:46:47 +00:00
eval_context.rs share the track_caller handling within a mir::Body 2023-10-28 16:16:15 +02:00
intern.rs Rename has_provance and tweaks comments. 2023-10-25 17:59:30 +00:00
intrinsics.rs Rollup merge of #117317 - RalfJung:track-caller, r=oli-obk 2023-10-30 17:33:16 +01:00
machine.rs don't UB on dangling ptr deref, instead check inbounds on projections 2023-10-15 18:12:46 +02:00
memory.rs Move provenance checks out of interning method. 2023-10-25 06:46:48 +00:00
mod.rs Directly intern values instead of copying them. 2023-10-25 06:46:48 +00:00
operand.rs Evaluate computed values to constants. 2023-10-25 06:46:47 +00:00
operator.rs don't UB on dangling ptr deref, instead check inbounds on projections 2023-10-15 18:12:46 +02:00
place.rs separate bounds-check from alignment check 2023-10-15 18:13:33 +02:00
projection.rs place evaluation: require the original pointer to be aligned if an access happens 2023-10-15 18:13:31 +02:00
step.rs Support enum variants in offset_of! 2023-10-31 23:25:54 +00:00
terminator.rs s/Generator/Coroutine/ 2023-10-20 21:10:38 +00: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 Pull mplace validation logic out into an interpreter method 2023-10-23 08:35:26 +00:00
visitor.rs interpret: fix projecting into an unsized field of a local 2023-08-30 13:43:34 +02:00