remove unneeded & that now fails to coerce

cc https://github.com/rust-lang/rust/issues/40924
This commit is contained in:
Niko Matsakis 2017-03-29 23:52:45 -04:00
parent 6c02272926
commit 6a47fa1d3d

View File

@ -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 \