diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-09-10 09:58:35 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-10-01 16:12:54 +0200 |
| commit | 107170b9c3c32263f6d06c888a7feabbc6e095d7 (patch) | |
| tree | 2beb0a8537b13060c8ac1e5c0ab7731a4636faf5 /compiler/rustc_lint | |
| parent | 3cb1811e459d1cf30dcb553ab99ce090cd5c76f1 (diff) | |
| download | rust-107170b9c3c32263f6d06c888a7feabbc6e095d7.tar.gz rust-107170b9c3c32263f6d06c888a7feabbc6e095d7.zip | |
Remove unused tool_name.
Diffstat (limited to 'compiler/rustc_lint')
| -rw-r--r-- | compiler/rustc_lint/src/levels.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index ab4ee6e3f06..8c1f6d442a1 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -621,7 +621,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) { @@ -639,7 +638,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) { @@ -681,7 +679,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)); @@ -779,7 +776,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) { |
