Skip to content

Commit 106db3e

Browse files
committed
Fix rustc_index imports outside the compiler
1 parent dd172d0 commit 106db3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abi/returning.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use smallvec::{smallvec, SmallVec};
99
/// this adds an extra parameter pointing to where the return value needs to be stored.
1010
pub(super) fn codegen_return_param<'tcx>(
1111
fx: &mut FunctionCx<'_, '_, 'tcx>,
12-
ssa_analyzed: &rustc_index::vec::IndexVec<Local, crate::analyze::SsaKind>,
12+
ssa_analyzed: &rustc_index::IndexSlice<Local, crate::analyze::SsaKind>,
1313
block_params_iter: &mut impl Iterator<Item = Value>,
1414
) -> CPlace<'tcx> {
1515
let (ret_place, ret_param): (_, SmallVec<[_; 2]>) = match fx.fn_abi.as_ref().unwrap().ret.mode {

0 commit comments

Comments
 (0)