about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-22 06:39:42 -0600
committerGitHub <noreply@github.com>2016-11-22 06:39:42 -0600
commit3bf2be9ceea90b650105cd1f78ad5a098a0d158d (patch)
tree594492880e90af1a3c06bdece638bcbe14eb341f /src
parent0f7c75b74fb7adc436eedc66c0032879293eeac6 (diff)
parenta257d8d49f300d45f3f1a15e67273dbe47ae657e (diff)
downloadrust-3bf2be9ceea90b650105cd1f78ad5a098a0d158d.tar.gz
rust-3bf2be9ceea90b650105cd1f78ad5a098a0d158d.zip
Auto merge of #37843 - nikomatsakis:issue-33685-hard-error, r=eddyb
make HR_LIFETIME_IN_ASSOC_TYPE deny-by-default

It's time to fix issue #32330.

cc #33685
cc @arielb1
Diffstat (limited to 'src')
-rw-r--r--src/librustc/lint/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs
index c369bc10e94..96aee04b6b7 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"
 }