1
Fork 0

Remove unused tool_name.

This commit is contained in:
Camille GILLOT 2022-09-10 09:58:35 +02:00
parent 3cb1811e45
commit 107170b9c3
2 changed files with 0 additions and 6 deletions

View file

@ -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) {