diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-12-19 16:48:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-19 16:48:11 +0800 |
| commit | e2bc71866ecc24f3221a11417102b2dec9648125 (patch) | |
| tree | c953ca72b057593ea619c3e20268a774fe65c330 /compiler/rustc_mir_transform/src | |
| parent | 7d962ecd170dc60b508a5b71bad4d7afb28cf900 (diff) | |
| parent | e5e0387cdbc21be09ed39eeaff1a72d3cb2ba389 (diff) | |
| download | rust-e2bc71866ecc24f3221a11417102b2dec9648125.tar.gz rust-e2bc71866ecc24f3221a11417102b2dec9648125.zip | |
Rollup merge of #134491 - compiler-errors:dtor-tweaks, r=lqd
Some destructor/drop related tweaks Two random tweaks I got from investigating some stuff around drops in edition 2024: 1. Use the `TypingEnv` of the mir builder, rather than making it over again. 2. Rename the `id` field from `Scope` to `local_id`, to reflect that it's a local id, and remove the `item_local_id()` accessor which just returned the id field.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
