Skip to content

Commit 39114f9

Browse files
committed
Make late_bound_lifetime_arguments lint warn-by-default
1 parent 46f427b commit 39114f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/librustc/lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ declare_lint! {
206206

207207
declare_lint! {
208208
pub LATE_BOUND_LIFETIME_ARGUMENTS,
209-
Deny,
209+
Warn,
210210
"detects generic lifetime arguments in path segments with late bound lifetime parameters"
211211
}
212212

src/test/compile-fail/method-call-lifetime-args-lint.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![deny(late_bound_lifetime_arguments)]
1112
#![allow(unused)]
1213

1314
struct S;

0 commit comments

Comments
 (0)