Auto merge of #17561 - servo:rustup, r=nox

Upgrade to rustc 1.20.0-nightly (69c65d296 2017-06-28)

Fixes #17575.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17561)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-06-30 14:34:56 -07:00 committed by GitHub
commit d16ef3cd33
4 changed files with 21 additions and 12 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) {