rustc_mir_dataflow/
lib.rs

1// tidy-alphabetical-start
2#![feature(assert_matches)]
3#![feature(associated_type_defaults)]
4#![feature(box_patterns)]
5#![feature(exact_size_is_empty)]
6#![feature(file_buffered)]
7#![feature(never_type)]
8#![feature(try_blocks)]
9// tidy-alphabetical-end
10
11use rustc_middle::ty;
12
13// Please change the public `use` directives cautiously, as they might be used by external tools.
14// See issue #120130.
15pub use self::drop_flag_effects::{
16    DropFlagState, drop_flag_effects_for_function_entry, drop_flag_effects_for_location,
17    move_path_children_matching, on_all_children_bits, on_lookup_result_bits,
18};
19pub use self::framework::{
20    Analysis, Backward, Direction, Forward, GenKill, JoinSemiLattice, MaybeReachable, Results,
21    ResultsCursor, ResultsVisitor, fmt, graphviz, lattice, visit_reachable_results, visit_results,
22};
23use self::move_paths::MoveData;
24
25pub mod debuginfo;
26mod drop_flag_effects;
27mod errors;
28mod framework;
29pub mod impls;
30pub mod move_paths;
31pub mod points;
32pub mod rustc_peek;
33mod un_derefer;
34pub mod value_analysis;
35
36rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
37
38pub struct MoveDataTypingEnv<'tcx> {
39    pub move_data: MoveData<'tcx>,
40    pub typing_env: ty::TypingEnv<'tcx>,
41}