Skip to content

Commit 197f35c

Browse files
committed
Make bare_trait_lint allow for now
1 parent b88a61e commit 197f35c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/librustc/lint/builtin.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ use errors::DiagnosticBuilder;
1818
use lint::{LintPass, LateLintPass, LintArray};
1919
use session::Session;
2020
use syntax::codemap::Span;
21-
use syntax::epoch::Epoch;
2221

2322
declare_lint! {
2423
pub EXCEEDING_BITSHIFTS,
@@ -264,9 +263,8 @@ declare_lint! {
264263

265264
declare_lint! {
266265
pub BARE_TRAIT_OBJECT,
267-
Warn,
268-
"suggest using `dyn Trait` for trait objects",
269-
Epoch::Epoch2018
266+
Allow,
267+
"suggest using `dyn Trait` for trait objects"
270268
}
271269

272270
declare_lint! {

0 commit comments

Comments
 (0)