about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-09-10 09:58:35 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-09-14 19:06:09 +0200
commitbb6184204813a83f6e39a3141b4cb9248237c8ed (patch)
tree1902c34f2cf9b6e0146ec27c23ddc1e4fd9281fa /compiler/rustc_lint/src
parentad09abc19415d48e24dbb231c85e521d909e77f7 (diff)
downloadrust-bb6184204813a83f6e39a3141b4cb9248237c8ed.tar.gz
rust-bb6184204813a83f6e39a3141b4cb9248237c8ed.zip
Remove unused tool_name.
Diffstat (limited to 'compiler/rustc_lint/src')
-rw-r--r--compiler/rustc_lint/src/levels.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs
index 9281d57ac64..eef342d4b07 100644
--- a/compiler/rustc_lint/src/levels.rs
+++ b/compiler/rustc_lint/src/levels.rs
@@ -692,7 +692,6 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
                                 .name,
                             span: sp,
                             reason,
-                            tool: tool_name,
                         };
                         for &id in *ids {
                             if self.check_gated_lint(id, attr.span) {
@@ -710,7 +709,6 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
                                     name: Symbol::intern(complete_name),
                                     span: sp,
                                     reason,
-                                    tool: tool_name,
                                 };
                                 for &id in ids {
                                     if self.check_gated_lint(id, attr.span) {
@@ -754,7 +752,6 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
                                     name: Symbol::intern(&new_lint_name),
                                     span: sp,
                                     reason,
-                                    tool: tool_name,
                                 };
                                 for id in ids {
                                     self.insert_spec(*id, (level, src));
@@ -845,7 +842,6 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
                             name: Symbol::intern(&new_name),
                             span: sp,
                             reason,
-                            tool: tool_name,
                         };
                         for &id in ids {
                             if self.check_gated_lint(id, attr.span) {