Update for changes in LocalDecl on nightly.
This commit is contained in:
parent
f95cc529fc
commit
cb3799b44b
1 changed files with 10 additions and 5 deletions
|
@ -259,31 +259,36 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
|||
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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue