Use zero based indexing for pass_count
This commit is contained in:
parent
80dcc52934
commit
c7e94b0efd
3 changed files with 5 additions and 3 deletions
|
@ -57,7 +57,7 @@ pub(super) fn build_custom_mir<'tcx>(
|
|||
is_polymorphic: false,
|
||||
tainted_by_errors: None,
|
||||
injection_phase: None,
|
||||
pass_count: 1,
|
||||
pass_count: 0,
|
||||
};
|
||||
|
||||
body.local_decls.push(LocalDecl::new(return_ty, return_ty_span));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue