aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins/unrooted_must_root.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-03-31 15:09:04 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-03-31 15:09:04 +0200
commitde01c5989173b5e4a1fe320a10d4bcfb4609ce99 (patch)
treec19f3faf5a9d86c2f7e83f8007f3f15d069b3f09 /components/script_plugins/unrooted_must_root.rs
parent955d3a8b8746b5060d421253263cf9bb05808866 (diff)
downloadservo-de01c5989173b5e4a1fe320a10d4bcfb4609ce99.tar.gz
servo-de01c5989173b5e4a1fe320a10d4bcfb4609ce99.zip
Upgrade to rustc 1.18.0-nightly (474f7a91e 2017-03-31)
Diffstat (limited to 'components/script_plugins/unrooted_must_root.rs')
-rw-r--r--components/script_plugins/unrooted_must_root.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_plugins/unrooted_must_root.rs b/components/script_plugins/unrooted_must_root.rs
index c62796b7a90..d869211315e 100644
--- a/components/script_plugins/unrooted_must_root.rs
+++ b/components/script_plugins/unrooted_must_root.rs
@@ -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);