diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-11-26 14:17:12 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-10 12:02:50 +1100 |
| commit | 086233e282b2eb3bad0ab34e8953abc380e87ec6 (patch) | |
| tree | 565f6bb614abc8ce6332daa10790d918fa222aca /compiler/rustc_mir_dataflow/src/impls | |
| parent | d490ea1f395910234c6c567db15b6dab0dac9ef0 (diff) | |
| download | rust-086233e282b2eb3bad0ab34e8953abc380e87ec6.tar.gz rust-086233e282b2eb3bad0ab34e8953abc380e87ec6.zip | |
Refer to a couple of domains indirectly.
Via the `Analysis::Domain` associated types, instead of the direct type name.
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/impls')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/impls/initialized.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/impls/initialized.rs b/compiler/rustc_mir_dataflow/src/impls/initialized.rs index 48db481a7ba..b96e520aad4 100644 --- a/compiler/rustc_mir_dataflow/src/impls/initialized.rs +++ b/compiler/rustc_mir_dataflow/src/impls/initialized.rs @@ -70,7 +70,7 @@ impl<'a, 'tcx> MaybeInitializedPlaces<'a, 'tcx> { pub fn is_unwind_dead( &self, place: mir::Place<'tcx>, - state: &MaybeReachable<MixedBitSet<MovePathIndex>>, + state: &<Self as Analysis<'tcx>>::Domain, ) -> bool { if let LookupResult::Exact(path) = self.move_data().rev_lookup.find(place.as_ref()) { let mut maybe_live = false; |
