diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index ad0ed39185c1c..987ff26c4d45c 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -255,7 +255,7 @@ declare_lint! { declare_lint! { pub ELIDED_LIFETIMES_IN_PATHS, - Allow, + Deny, "hidden lifetime parameters in types are deprecated" }