Upgrade to rustc 1.20.0-nightly (3bfc18a96 2017-06-29)

This commit is contained in:
Simon Sapin 2017-06-29 15:39:46 +02:00
parent 6b523302e1
commit 7fbb658224
3 changed files with 16 additions and 10 deletions

View file

@ -140,7 +140,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnrootedPass {
if !in_derive_expn(span) {
let def_id = cx.tcx.hir.local_def_id(id);
let sig = cx.tcx.type_of(def_id).fn_sig();
let sig = cx.tcx.type_of(def_id).fn_sig(cx.tcx);
for (arg, ty) in decl.inputs.iter().zip(sig.inputs().0.iter()) {
if is_unrooted_ty(cx, ty, false) {