Skip to content

Commit 19cd910

Browse files
Implement a destination propagation pass
1 parent ff5b446 commit 19cd910

File tree

5 files changed

+741
-1
lines changed

5 files changed

+741
-1
lines changed

src/librustc_mir/dataflow/impls/mod.rs

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

193193
/// `EverInitializedPlaces` tracks all places that might have ever been
194194
/// initialized upon reaching a particular point in the control flow
195-
/// for a function, without an intervening `Storage Dead`.
195+
/// for a function, without an intervening `StorageDead`.
196196
///
197197
/// This dataflow is used to determine if an immutable local variable may
198198
/// be assigned to.

src/librustc_mir/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)