From a257d8d49f300d45f3f1a15e67273dbe47ae657e Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Thu, 17 Nov 2016 16:50:59 -0500 Subject: [PATCH] make HR_LIFETIME_IN_ASSOC_TYPE deny-by-default It's time to fix issue #32330. cc #33685 --- src/librustc/lint/builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 82a46f76401d5..0b4de63ce6d81 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -157,7 +157,7 @@ declare_lint! { declare_lint! { pub HR_LIFETIME_IN_ASSOC_TYPE, - Warn, + Deny, "binding for associated type references higher-ranked lifetime \ that does not appear in the trait input types" }