aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lints/inheritance_integrity.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-12-06 17:56:31 -1000
committerAnthony Ramine <n.oxyde@gmail.com>2016-12-22 00:45:18 +0100
commit2cc1b84f344e946aeab039ddfb348308885f8e7f (patch)
treeacce2d6a751cab34b519b9103c3c7cab407c47d8 /components/plugins/lints/inheritance_integrity.rs
parentfd5733fc1e5cda952e8d68783d4053fe4ae66eb1 (diff)
downloadservo-2cc1b84f344e946aeab039ddfb348308885f8e7f.tar.gz
servo-2cc1b84f344e946aeab039ddfb348308885f8e7f.zip
Update Rust to 1.15.0-nightly (71c06a56a 2016-12-18)
Diffstat (limited to 'components/plugins/lints/inheritance_integrity.rs')
-rw-r--r--components/plugins/lints/inheritance_integrity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/plugins/lints/inheritance_integrity.rs b/components/plugins/lints/inheritance_integrity.rs
index a47b6313db0..0c70a949c15 100644
--- a/components/plugins/lints/inheritance_integrity.rs
+++ b/components/plugins/lints/inheritance_integrity.rs
@@ -22,7 +22,7 @@ impl LintPass for InheritancePass {
}
}
-impl LateLintPass for InheritancePass {
+impl<'a, 'tcx> LateLintPass<'a, 'tcx> for InheritancePass {
fn check_struct_def(&mut self, cx: &LateContext, def: &hir::VariantData, _n: ast::Name,
_gen: &hir::Generics, id: ast::NodeId) {
// Lints are run post expansion, so it's fine to use