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 bab224d commit 8704a66Copy full SHA for 8704a66
src/abi/returning.rs
@@ -44,9 +44,9 @@ pub(crate) fn can_return_to_ssa_var<'tcx>(
44
FnAbi::of_fn_ptr(&RevealAllLayoutCx(fx.tcx), fn_ty.fn_sig(fx.tcx), &extra_args)
45
};
46
match fn_abi.ret.mode {
47
- PassMode::Ignore | PassMode::Direct(_) | PassMode::Pair(_, _) => true,
48
- // FIXME Make it possible to return Cast and Indirect to an ssa var.
49
- PassMode::Cast(_) | PassMode::Indirect { .. } => false,
+ PassMode::Ignore | PassMode::Direct(_) | PassMode::Pair(_, _) | PassMode::Cast(_) => true,
+ // FIXME Make it possible to return Indirect to an ssa var.
+ PassMode::Indirect { .. } => false,
50
}
51
52
0 commit comments