rust/compiler/rustc_middle/src
Stuart Cook f162d11351
Rollup merge of #146402 - RalfJung:aggregate-init, r=saethlin
interpret: fix overlapping aggregate initialization

This fixes the problem pointed out by ````@saethlin```` in https://github.com/rust-lang/rust/issues/146383#issuecomment-3273224645.

Also clarify when exactly current de-facto MIR semantics allow overlap of the LHS and RHS in an assignment.
2025-09-16 10:25:40 +10:00
..
dep_graph Reuse metadata file from work products. 2025-07-04 14:02:17 +00:00
hir Rollup merge of #144822 - Zalathar:hash-owner-nodes, r=compiler-errors 2025-08-03 21:56:59 +02:00
hooks Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
infer inline CanonicalTyVarKind 2025-09-08 14:17:56 +02:00
middle Rollup merge of #145932 - JamieCunliffe:target-feature-inlining, r=jackh726 2025-09-04 10:01:55 +10:00
mir Rollup merge of #146402 - RalfJung:aggregate-init, r=saethlin 2025-09-16 10:25:40 +10:00
query Don't store defaultness for inherent impl items 2025-09-12 15:14:15 -05:00
thir use ty::Value instead of manual pairs of types and valtrees 2025-08-14 09:44:22 +02:00
traits Split ObligationCauseCode::BinOp for unops to UnOp 2025-08-31 21:13:12 +00:00
ty Don't store defaultness for inherent impl items 2025-09-12 15:14:15 -05:00
util Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00
arena.rs cleanup proof tree implementation and add cache 2025-08-29 09:35:37 +02:00
error.rs fixup limit handling code 2025-09-08 15:07:12 -07:00
lib.rs Rollup merge of #145756 - okaneco:stabilize_char_boundary, r=scottmcm 2025-08-29 19:33:03 -05:00
lint.rs mention lint group in default level lint note 2025-08-19 21:27:10 +02:00
macros.rs Fold visit into ty 2025-03-15 06:34:36 +00:00
metadata.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs Apply suggestions from code review 2025-08-14 09:44:22 +02:00
values.rs Use search_for_cycle_permutation to look for variances_of 2025-04-27 09:38:18 +02:00