Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 78ff69b

Browse files
Implement a destination propagation pass
1 parent 9f8ac71 commit 78ff69b

File tree

5 files changed

+742
-1
lines changed

5 files changed

+742
-1
lines changed

compiler/rustc_mir/src/dataflow/impls/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ impl<'a, 'tcx> HasMoveData<'tcx> for DefinitelyInitializedPlaces<'a, 'tcx> {
204204

205205
/// `EverInitializedPlaces` tracks all places that might have ever been
206206
/// initialized upon reaching a particular point in the control flow
207-
/// for a function, without an intervening `Storage Dead`.
207+
/// for a function, without an intervening `StorageDead`.
208208
///
209209
/// This dataflow is used to determine if an immutable local variable may
210210
/// be assigned to.

compiler/rustc_mir/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Rust MIR: a lowered representation of Rust.
66

77
#![feature(nll)]
88
#![feature(in_band_lifetimes)]
9+
#![feature(bindings_after_at)]
910
#![feature(bool_to_option)]
1011
#![feature(box_patterns)]
1112
#![feature(box_syntax)]

0 commit comments

Comments
 (0)