We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6573b62 commit 6995670Copy full SHA for 6995670
compiler/rustc_mir_transform/src/inline.rs
@@ -1254,6 +1254,8 @@ impl<'tcx> MutVisitor<'tcx> for Integrator<'_, 'tcx> {
1254
// replaced down below anyways).
1255
if !matches!(terminator.kind, TerminatorKind::Return) {
1256
self.super_terminator(terminator, loc);
1257
+ } else {
1258
+ self.visit_source_info(&mut terminator.source_info);
1259
}
1260
1261
match terminator.kind {
0 commit comments