Skip to content

Commit a257d8d

Browse files
committed
make HR_LIFETIME_IN_ASSOC_TYPE deny-by-default
It's time to fix issue rust-lang#32330. cc rust-lang#33685
1 parent c57b826 commit a257d8d

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)