aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lints/privatize.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-12-06 17:56:31 -1000
committerMs2ger <Ms2ger@gmail.com>2016-12-19 12:58:11 +0100
commit5618e797683e7bfc400e8b1879d89f64bfb577fa (patch)
tree9cb4e42c3ce9ab63f84706f92e82461d49390bcc /components/plugins/lints/privatize.rs
parent01b6ad55bd435bc4f58e5eab2e8adb7e4febb50a (diff)
downloadservo-5618e797683e7bfc400e8b1879d89f64bfb577fa.tar.gz
servo-5618e797683e7bfc400e8b1879d89f64bfb577fa.zip
Update Rust to 1.15.0-nightly (8f02c429a 2016-12-15).
Diffstat (limited to 'components/plugins/lints/privatize.rs')
-rw-r--r--components/plugins/lints/privatize.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/plugins/lints/privatize.rs b/components/plugins/lints/privatize.rs
index f3f56a0cdc4..0eec1ad1596 100644
--- a/components/plugins/lints/privatize.rs
+++ b/components/plugins/lints/privatize.rs
@@ -21,7 +21,7 @@ impl LintPass for PrivatizePass {
}
}
-impl LateLintPass for PrivatizePass {
+impl<'a, 'tcx> LateLintPass<'a, 'tcx> for PrivatizePass {
fn check_struct_def(&mut self,
cx: &LateContext,
def: &hir::VariantData,