rust/compiler/rustc_mir_transform
bors a5b2ac6906 Auto merge of #115252 - cjgillot:mir-composite, r=davidtwco
Represent MIR composite debuginfo as projections instead of aggregates

Composite debuginfo for MIR is currently represented as
```
debug name => Type { projection1 => place1, projection2 => place2 };
```
ie. a single `VarDebugInfo` object with that name, and its value a `VarDebugInfoContents::Composite`.

This PR proposes to reverse the representation to be
```
debug name.projection1 => place1;
debug name.projection2 => place2;
```
ie. multiple `VarDebugInfo` objects with each their projection.

This simplifies the handling of composite debuginfo by the compiler by avoiding weird nesting.

Based on https://github.com/rust-lang/rust/pull/115139
2023-09-06 16:10:11 +00:00
..
src Auto merge of #115252 - cjgillot:mir-composite, r=davidtwco 2023-09-06 16:10:11 +00:00
Cargo.toml Make unconditional_recursion warning detect recursive drops 2023-07-22 14:04:45 +02:00
messages.ftl Add note about unsafe functions body not being unsafe 2023-06-13 15:48:57 +02:00