mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
Update for changes in LocalDecl on nightly.
This commit is contained in:
committed by
GitHub
parent
f95cc529fc
commit
cb3799b44b
+10
-5
@@ -259,31 +259,36 @@ pub fn new(tcx: TyCtxt<'a, 'tcx, 'tcx>, limits: ResourceLimits) -> Self {
|
||||
mutability: mir::Mutability::Mut,
|
||||
ty: tcx.mk_nil(),
|
||||
name: None,
|
||||
source_info: None,
|
||||
source_info,
|
||||
is_user_variable: false,
|
||||
},
|
||||
mir::LocalDecl {
|
||||
mutability: mir::Mutability::Mut,
|
||||
ty: tcx.mk_mut_ptr(tcx.mk_slice(tcx.mk_param(0, Symbol::intern("T")))),
|
||||
name: None,
|
||||
source_info: None,
|
||||
source_info,
|
||||
is_user_variable: false,
|
||||
},
|
||||
mir::LocalDecl {
|
||||
mutability: mir::Mutability::Mut,
|
||||
ty: tcx.types.usize,
|
||||
name: None,
|
||||
source_info: None,
|
||||
source_info,
|
||||
is_user_variable: false,
|
||||
},
|
||||
mir::LocalDecl {
|
||||
mutability: mir::Mutability::Mut,
|
||||
ty: tcx.types.usize,
|
||||
name: None,
|
||||
source_info: None,
|
||||
source_info,
|
||||
is_user_variable: false,
|
||||
},
|
||||
mir::LocalDecl {
|
||||
mutability: mir::Mutability::Mut,
|
||||
ty: tcx.types.bool,
|
||||
name: None,
|
||||
source_info: None,
|
||||
source_info,
|
||||
is_user_variable: false,
|
||||
},
|
||||
];
|
||||
let seq_drop_glue = mir::Mir::new(
|
||||
|
||||
Reference in New Issue
Block a user