summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/auxiliary/lint-for-crate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui-fulldeps/auxiliary/lint-for-crate.rs')
-rw-r--r--src/test/ui-fulldeps/auxiliary/lint-for-crate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui-fulldeps/auxiliary/lint-for-crate.rs b/src/test/ui-fulldeps/auxiliary/lint-for-crate.rs
index 29d0abfbe..0b1534939 100644
--- a/src/test/ui-fulldeps/auxiliary/lint-for-crate.rs
+++ b/src/test/ui-fulldeps/auxiliary/lint-for-crate.rs
@@ -39,5 +39,5 @@ impl<'tcx> LateLintPass<'tcx> for Pass {
#[no_mangle]
fn __rustc_plugin_registrar(reg: &mut Registry) {
reg.lint_store.register_lints(&[&CRATE_NOT_OKAY]);
- reg.lint_store.register_late_pass(|| Box::new(Pass));
+ reg.lint_store.register_late_pass(|_| Box::new(Pass));
}