about summary refs log tree commit diff
path: root/compiler/rustc_lint_defs/src/lib.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-07-10 10:00:54 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-12-04 23:13:58 +0100
commit646f58a7e1985ca935c3d95a003f23fb81831dd3 (patch)
tree654e3c43ad941d71481b598e73faf3583af56c50 /compiler/rustc_lint_defs/src/lib.rs
parent887999d163bace7e79370b952bdd1f930ff4cdd5 (diff)
downloadrust-646f58a7e1985ca935c3d95a003f23fb81831dd3.tar.gz
rust-646f58a7e1985ca935c3d95a003f23fb81831dd3.zip
Lint bare traits in AstConv.
Diffstat (limited to 'compiler/rustc_lint_defs/src/lib.rs')
-rw-r--r--compiler/rustc_lint_defs/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/lib.rs b/compiler/rustc_lint_defs/src/lib.rs
index feac2a7cfa4..efc0cecb824 100644
--- a/compiler/rustc_lint_defs/src/lib.rs
+++ b/compiler/rustc_lint_defs/src/lib.rs
@@ -285,7 +285,6 @@ pub enum ExternDepSpec {
 #[derive(PartialEq, Debug)]
 pub enum BuiltinLintDiagnostics {
     Normal,
-    BareTraitObject(Span, /* is_global */ bool),
     AbsPathWithModule(Span),
     ProcMacroDeriveResolutionFallback(Span),
     MacroExpandedMacroExportsAccessedByAbsolutePaths(Span),