From 74481e10c43f02cfa68fbb141ef72c5161eee579 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Thu, 28 Mar 2019 10:50:07 +0100 Subject: [PATCH] BARE_TRAIT_OBJECTS -> Deny --- src/librustc/lint/builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index ad0ed39185c1c..174fff84eff35 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -261,7 +261,7 @@ declare_lint! { declare_lint! { pub BARE_TRAIT_OBJECTS, - Allow, + Deny, "suggest using `dyn Trait` for trait objects" }