Move MoveDataParamEnv
to beginning of module
This commit is contained in:
parent
15346ed53c
commit
9978afb5d6
1 changed files with 5 additions and 5 deletions
|
@ -26,6 +26,11 @@ pub(crate) mod indexes {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub struct MoveDataParamEnv<'tcx> {
|
||||||
|
pub(crate) move_data: MoveData<'tcx>,
|
||||||
|
pub(crate) param_env: ty::ParamEnv<'tcx>,
|
||||||
|
}
|
||||||
|
|
||||||
pub(crate) fn has_rustc_mir_with(attrs: &[ast::Attribute], name: Symbol) -> Option<MetaItem> {
|
pub(crate) fn has_rustc_mir_with(attrs: &[ast::Attribute], name: Symbol) -> Option<MetaItem> {
|
||||||
for attr in attrs {
|
for attr in attrs {
|
||||||
if attr.check_name(sym::rustc_mir) {
|
if attr.check_name(sym::rustc_mir) {
|
||||||
|
@ -41,11 +46,6 @@ pub(crate) fn has_rustc_mir_with(attrs: &[ast::Attribute], name: Symbol) -> Opti
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct MoveDataParamEnv<'tcx> {
|
|
||||||
pub(crate) move_data: MoveData<'tcx>,
|
|
||||||
pub(crate) param_env: ty::ParamEnv<'tcx>,
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Parameterization for the precise form of data flow that is used.
|
/// Parameterization for the precise form of data flow that is used.
|
||||||
///
|
///
|
||||||
/// `BottomValue` determines whether the initial entry set for each basic block is empty or full.
|
/// `BottomValue` determines whether the initial entry set for each basic block is empty or full.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue