remove unneeded &
that now fails to coerce
cc https://github.com/rust-lang/rust/issues/40924
This commit is contained in:
parent
6c02272926
commit
6a47fa1d3d
@ -369,7 +369,7 @@ impl FnType {
|
||||
match sig.inputs().last().unwrap().sty {
|
||||
ty::TyTuple(ref tupled_arguments, _) => {
|
||||
inputs = &sig.inputs()[0..sig.inputs().len() - 1];
|
||||
&tupled_arguments
|
||||
tupled_arguments
|
||||
}
|
||||
_ => {
|
||||
bug!("argument to function with \"rust-call\" ABI \
|
||||
|
Loading…
Reference in New Issue
Block a user