From 0e6cf0f3a881cd274c8cbca9abe516aa3520adc9 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Tue, 28 Dec 2021 22:24:49 -0500 Subject: [PATCH] [DO NOT MERGE] Deny `unused_lifetimes` lint for Crater run --- compiler/rustc_lint_defs/src/builtin.rs | 2 +- src/tools/rust-analyzer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 27a06943cbc25..0f09807c7f854 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -1540,7 +1540,7 @@ declare_lint! { /// Unused lifetime parameters may signal a mistake or unfinished code. /// Consider removing the parameter. pub UNUSED_LIFETIMES, - Allow, + Deny, "detects lifetime parameters that are never used" } diff --git a/src/tools/rust-analyzer b/src/tools/rust-analyzer index 8e9ccbf97a702..2e33bf23c94e7 160000 --- a/src/tools/rust-analyzer +++ b/src/tools/rust-analyzer @@ -1 +1 @@ -Subproject commit 8e9ccbf97a70259b6c6576e8fd7d77d28238737e +Subproject commit 2e33bf23c94e7053eb657d1a318bd1b66cabec95