Skip to content

Commit

Permalink
Make bare_trait_lint allow for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Mar 9, 2018
1 parent b88a61e commit 197f35c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/librustc/lint/builtin.rs
Expand Up @@ -18,7 +18,6 @@ use errors::DiagnosticBuilder;
use lint::{LintPass, LateLintPass, LintArray};
use session::Session;
use syntax::codemap::Span;
use syntax::epoch::Epoch;

declare_lint! {
pub EXCEEDING_BITSHIFTS,
Expand Down Expand Up @@ -264,9 +263,8 @@ declare_lint! {

declare_lint! {
pub BARE_TRAIT_OBJECT,
Warn,
"suggest using `dyn Trait` for trait objects",
Epoch::Epoch2018
Allow,
"suggest using `dyn Trait` for trait objects"
}

declare_lint! {
Expand Down

0 comments on commit 197f35c

Please sign in to comment.