mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
commit
d16ef3cd33
4 changed files with 21 additions and 12 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue