Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit e564a0a

Browse files
committed
Rustfmt
1 parent aa23f86 commit e564a0a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/abi/returning.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::prelude::*;
44

55
use rustc_middle::ty::layout::FnAbiExt;
66
use rustc_target::abi::call::{ArgAbi, FnAbi, PassMode};
7-
use smallvec::{SmallVec, smallvec};
7+
use smallvec::{smallvec, SmallVec};
88

99
/// Can the given type be returned into an ssa var or does it need to be returned on the stack.
1010
pub(crate) fn can_return_to_ssa_var<'tcx>(

src/analyze.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ pub(crate) fn analyze(fx: &FunctionCx<'_, '_, impl Module>) -> IndexVec<Local, S
4040
}
4141

4242
match &bb.terminator().kind {
43-
TerminatorKind::Call { destination, func, args, .. } => {
43+
TerminatorKind::Call {
44+
destination,
45+
func,
46+
args,
47+
..
48+
} => {
4449
if let Some((dest_place, _dest_bb)) = destination {
4550
if !crate::abi::can_return_to_ssa_var(fx, func, args) {
4651
not_ssa(&mut flag_map, dest_place.local)

0 commit comments

Comments
 (0)