Remove unused tool_name.
This commit is contained in:
parent
ad09abc194
commit
bb61842048
2 changed files with 0 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue