diff options
| -rw-r--r-- | src/librustc/lint/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 69d865f53d4..f7af51e4752 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -255,7 +255,7 @@ declare_lint! { declare_lint! { pub BARE_TRAIT_OBJECTS, - Allow, + Warn, "suggest using `dyn Trait` for trait objects" } |
