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