mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Upgrade to rustc 1.18.0-nightly (474f7a91e 2017-03-31)
This commit is contained in:
parent
955d3a8b87
commit
de01c59891
3 changed files with 13 additions and 14 deletions
|
@ -138,7 +138,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnrootedPass {
|
|||
visit::FnKind::Closure(_) => return,
|
||||
};
|
||||
|
||||
if !in_derive_expn(cx, span) {
|
||||
if !in_derive_expn(span) {
|
||||
let def_id = cx.tcx.hir.local_def_id(id);
|
||||
let ty = cx.tcx.item_type(def_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue