summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/auxiliary/lint-group-plugin-test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui-fulldeps/auxiliary/lint-group-plugin-test.rs')
-rw-r--r--src/test/ui-fulldeps/auxiliary/lint-group-plugin-test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui-fulldeps/auxiliary/lint-group-plugin-test.rs b/src/test/ui-fulldeps/auxiliary/lint-group-plugin-test.rs
index 691cfb97d..2d41b5f30 100644
--- a/src/test/ui-fulldeps/auxiliary/lint-group-plugin-test.rs
+++ b/src/test/ui-fulldeps/auxiliary/lint-group-plugin-test.rs
@@ -36,7 +36,7 @@ impl<'tcx> LateLintPass<'tcx> for Pass {
#[no_mangle]
fn __rustc_plugin_registrar(reg: &mut Registry) {
reg.lint_store.register_lints(&[&TEST_LINT, &PLEASE_LINT]);
- reg.lint_store.register_late_pass(|| Box::new(Pass));
+ reg.lint_store.register_late_pass(|_| Box::new(Pass));
reg.lint_store.register_group(
true,
"lint_me",