Skip to content

Commit 3bf2be9

Browse files
authored
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
2 parents 0f7c75b + a257d8d commit 3bf2be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ declare_lint! {
157157

158158
declare_lint! {
159159
pub HR_LIFETIME_IN_ASSOC_TYPE,
160-
Warn,
160+
Deny,
161161
"binding for associated type references higher-ranked lifetime \
162162
that does not appear in the trait input types"
163163
}

0 commit comments

Comments
 (0)