]> git.lizzy.rs Git - rust.git/commitdiff
Export dataflow impls by name
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Mon, 4 May 2020 19:49:10 +0000 (12:49 -0700)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Mon, 4 May 2020 19:50:05 +0000 (12:50 -0700)
src/librustc_mir/dataflow/impls/mod.rs

index 222ae137d96e225f15405342f07b86764df907d3..e199a174efbc30d6f220dc65e9e1b3c83adb64b3 100644 (file)
 use crate::dataflow::drop_flag_effects;
 
 mod borrowed_locals;
+pub(super) mod borrows;
 mod liveness;
 mod storage_liveness;
 
-pub use self::borrowed_locals::*;
+pub use self::borrowed_locals::{MaybeBorrowedLocals, MaybeMutBorrowedLocals};
+pub use self::borrows::Borrows;
 pub use self::liveness::MaybeLiveLocals;
-pub use self::storage_liveness::*;
-
-pub(super) mod borrows;
+pub use self::storage_liveness::{MaybeRequiresStorage, MaybeStorageLive};
 
 /// `MaybeInitializedPlaces` tracks all places that might be
 /// initialized upon reaching a particular point in the control flow