rust/compiler/rustc_const_eval/src/interpret
bors 94c4e5c411 Auto merge of #115214 - Urgau:rfc-3127-trim-paths, r=compiler-errors
Implement rustc part of RFC 3127 trim-paths

This PR implements (or at least tries to) [RFC 3127 trim-paths](https://github.com/rust-lang/rust/issues/111540), the rustc part. That is `-Zremap-path-scope` with all of it's components/scopes.

`@rustbot` label: +F-trim-paths
2023-10-19 19:09:29 +00:00
..
intrinsics [RFC 3127 - Trim Paths]: Condition remapped filepath on remap scopes 2023-10-17 10:11:30 +02:00
cast.rs float-to-float casts also have non-deterministic NaN results 2023-10-09 08:30:34 +02:00
discriminant.rs try to avoid some layout_of calls 2023-09-21 07:26:16 +02:00
eval_context.rs Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk 2023-10-06 16:37:46 -07:00
intern.rs separate bounds-check from alignment check 2023-10-15 18:13:33 +02:00
intrinsics.rs separate bounds-check from alignment check 2023-10-15 18:13:33 +02: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 Rollup merge of #116650 - RalfJung:miri-intptrcast, r=oli-obk 2023-10-19 14:38:26 +02:00
mod.rs avoid re-checking the offset while iterating an array/slice 2023-10-15 18:12:46 +02:00
operand.rs place evaluation: require the original pointer to be aligned if an access happens 2023-10-15 18:13:31 +02: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 separate bounds-check from alignment check 2023-10-15 18:13:33 +02:00
terminator.rs don't UB on dangling ptr deref, instead check inbounds on projections 2023-10-15 18:12:46 +02:00
traits.rs make it more clear which functions create fresh AllocId 2023-09-14 07:27:31 +02:00
util.rs subst -> instantiate 2023-09-26 09:37:55 +02:00
validity.rs separate bounds-check from alignment check 2023-10-15 18:13:33 +02:00
visitor.rs interpret: fix projecting into an unsized field of a local 2023-08-30 13:43:34 +02:00