File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
compiler/rustc_middle/src/mir Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -824,6 +824,8 @@ pub struct LocalDecl<'tcx> {
824
824
/// │ │← `drop(x)` // This accesses `x: u32`.
825
825
/// ```
826
826
pub source_info : SourceInfo ,
827
+
828
+ pub always_storage_live : bool ,
827
829
}
828
830
829
831
// `LocalDecl` is used a lot. Make sure it doesn't unintentionally get bigger.
@@ -949,6 +951,7 @@ impl<'tcx> LocalDecl<'tcx> {
949
951
ty,
950
952
user_ty : None ,
951
953
source_info,
954
+ always_storage_live : false ,
952
955
}
953
956
}
954
957
Original file line number Diff line number Diff line change @@ -867,6 +867,7 @@ macro_rules! make_mir_visitor {
867
867
internal: _,
868
868
local_info: _,
869
869
is_block_tail: _,
870
+ always_storage_live: _,
870
871
} = local_decl;
871
872
872
873
self . visit_ty( $( & $mutability) ? * ty, TyContext :: LocalDecl {
You can’t perform that action at this time.
0 commit comments