diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-02-09 14:12:24 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-09 14:12:24 +0900 |
| commit | a07eed99f6505aeefa97aa7f73f8fb70ee5eb12f (patch) | |
| tree | 3ac549d8d59d0e72f2380abb2063ad4e23d95792 /compiler/rustc_interface/src/tests.rs | |
| parent | 68fa9b198aaef41b173f5dbf4b2822765ce5007c (diff) | |
| parent | 97b24f3236a59c920b8978604739fcd274c678de (diff) | |
| download | rust-a07eed99f6505aeefa97aa7f73f8fb70ee5eb12f.tar.gz rust-a07eed99f6505aeefa97aa7f73f8fb70ee5eb12f.zip | |
Rollup merge of #93751 - eholk:issue-93648-drop-tracking-projection, r=tmiasko
Drop tracking: track borrows of projections Previous efforts to ignore partially consumed values meant we were also not considering borrows of a projection. This led to cases where we'd miss borrowed types which MIR expected to be there, leading to ICEs. This PR also includes the `-Zdrop-tracking` flag from #93313. If that PR lands first, I'll rebase to drop the commit from this one. Fixes #93648
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 5e288187756..e5e46703082 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -730,6 +730,7 @@ fn test_debugging_options_tracking_hash() { tracked!(debug_info_for_profiling, true); tracked!(debug_macros, true); tracked!(dep_info_omit_d_target, true); + tracked!(drop_tracking, true); tracked!(dual_proc_macros, true); tracked!(fewer_names, Some(true)); tracked!(force_unstable_if_unmarked, true); |
