Make bare_trait_lint allow for now
This commit is contained in:
parent
b88a61e36e
commit
197f35c3e0
@ -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,
|
||||
@ -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! {
|
||||
|
Loading…
x
Reference in New Issue
Block a user