add tainted_by_errors to mir::Body
This commit is contained in:
parent
29c2bb51c0
commit
a431174c23
10 changed files with 37 additions and 23 deletions
|
@ -145,6 +145,7 @@ impl<'tcx> MirPass<'tcx> for ConstProp {
|
|||
Default::default(),
|
||||
body.span,
|
||||
body.generator_kind(),
|
||||
body.tainted_by_errors,
|
||||
);
|
||||
|
||||
// FIXME(oli-obk, eddyb) Optimize locals (or even local paths) to hold
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue