diff options
| author | memoryruins <memoryruinsmusic@gmail.com> | 2019-05-28 14:42:14 -0400 |
|---|---|---|
| committer | memoryruins <memoryruinsmusic@gmail.com> | 2019-05-28 14:42:14 -0400 |
| commit | 54e10558b4c28fd2a861e34ec5daf53b287a4198 (patch) | |
| tree | 8224b33f0d9add483fc6f6c0773cd58efdd92cdb | |
| parent | dc6db14e1cd60012f25be4fd8d2eb96ea5b4bb68 (diff) | |
Set bare_trait_objects lint to warn
| -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" } |
