Skip to content

Commit

Permalink
Cancel warning for tool_lints
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Sep 19, 2018
1 parent 14f51b0 commit 27daef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/lint/levels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ impl<'a> LintLevelsBuilder<'a> {
"change it to",
new_lint_name.to_string(),
Applicability::MachineApplicable,
).emit();
).cancel();

let src = LintSource::Node(Symbol::intern(&new_lint_name), li.span);
for id in ids {
Expand Down

0 comments on commit 27daef9

Please sign in to comment.