about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-17 00:14:25 +0200
committerGitHub <noreply@github.com>2025-04-17 00:14:25 +0200
commit5c963a4cb3525afb5c83db4da2c5c0038145ff74 (patch)
tree468b9f8bd7b34fc7738da980e83bb5cbc112f6fd /compiler/rustc_lint/src/lib.rs
parent844b7c79350bf51a93aef24b3ebbc6069d389ac5 (diff)
parent3375264fa1c6e7fe95b05c7c369f1f884dee1c91 (diff)
downloadrust-5c963a4cb3525afb5c83db4da2c5c0038145ff74.tar.gz
rust-5c963a4cb3525afb5c83db4da2c5c0038145ff74.zip
Rollup merge of #139650 - Alexendoo:group-alias, r=davidtwco
Fix `register_group_alias` for tools

In clippy we're looking at renaming `clippy::all` and registering an alias for it but currently that doesn't work for tools

The `lint_ids` of the alias are now populated at the time of registration to make it easier to handle
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
-rw-r--r--compiler/rustc_lint/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs
index 1789a2970d6..212368bea82 100644
--- a/compiler/rustc_lint/src/lib.rs
+++ b/compiler/rustc_lint/src/lib.rs
@@ -124,9 +124,7 @@ use unused::*;
 
 #[rustfmt::skip]
 pub use builtin::{MissingDoc, SoftLints};
-pub use context::{
-    CheckLintNameResult, EarlyContext, FindLintError, LateContext, LintContext, LintStore,
-};
+pub use context::{CheckLintNameResult, EarlyContext, LateContext, LintContext, LintStore};
 pub use early::{EarlyCheckNode, check_ast_node};
 pub use late::{check_crate, late_lint_mod, unerased_lint_store};
 pub use levels::LintLevelsBuilder;