We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88a61e commit 197f35cCopy full SHA for 197f35c
src/librustc/lint/builtin.rs
@@ -18,7 +18,6 @@ use errors::DiagnosticBuilder;
18
use lint::{LintPass, LateLintPass, LintArray};
19
use session::Session;
20
use syntax::codemap::Span;
21
-use syntax::epoch::Epoch;
22
23
declare_lint! {
24
pub EXCEEDING_BITSHIFTS,
@@ -264,9 +263,8 @@ declare_lint! {
264
263
265
266
pub BARE_TRAIT_OBJECT,
267
- Warn,
268
- "suggest using `dyn Trait` for trait objects",
269
- Epoch::Epoch2018
+ Allow,
+ "suggest using `dyn Trait` for trait objects"
270
}
271
272
0 commit comments