1
Fork 0

Rollup merge of #81116 - bugadani:body-span, r=wesleywiser

ConstProp: Copy body span instead of querying it
This commit is contained in:
Ashley Mannix 2021-01-18 21:53:30 +10:00 committed by GitHub
commit 064e47b99e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,7 @@ impl<'tcx> MirPass<'tcx> for ConstProp {
Default::default(),
body.arg_count,
Default::default(),
tcx.def_span(def_id),
body.span,
body.generator_kind,
);