diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 7410386c6f45b..4bba1d0c90a1c 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -242,7 +242,7 @@ declare_lint! { declare_lint! { pub TYVAR_BEHIND_RAW_POINTER, - Warn, + Forbid, "raw pointer to an inference variable" }