about summary refs log tree commit diff
path: root/compiler/rustc_lint_defs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-08-22 01:08:34 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-22 02:01:01 -0700
commitb5c714cfc1c0f61cb5d4829d7db223cf9ebb0c72 (patch)
tree9ecfe8769683ce70144171c6f1b22afe02779677 /compiler/rustc_lint_defs
parentc99320156dfeea98836fe7dad97d16f67c4d879e (diff)
downloadrust-b5c714cfc1c0f61cb5d4829d7db223cf9ebb0c72.tar.gz
rust-b5c714cfc1c0f61cb5d4829d7db223cf9ebb0c72.zip
Migrate `BuiltinLintDiag::UnexpectedBuiltinCfg` to use `LintDiagnostic` directly
Diffstat (limited to 'compiler/rustc_lint_defs')
-rw-r--r--compiler/rustc_lint_defs/src/lib.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_lint_defs/src/lib.rs b/compiler/rustc_lint_defs/src/lib.rs
index c1eb31cfa17..04a97bed87c 100644
--- a/compiler/rustc_lint_defs/src/lib.rs
+++ b/compiler/rustc_lint_defs/src/lib.rs
@@ -810,11 +810,6 @@ pub enum BuiltinLintDiag {
         path: String,
         location: String,
     },
-    UnexpectedBuiltinCfg {
-        cfg: String,
-        cfg_name: Symbol,
-        controlled_by: &'static str,
-    },
 }
 
 pub type RegisteredTools = FxIndexSet<Ident>;