Skip to content

Commit 27daef9

Browse files
committed
Cancel warning for tool_lints
1 parent 14f51b0 commit 27daef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/levels.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ impl<'a> LintLevelsBuilder<'a> {
299299
"change it to",
300300
new_lint_name.to_string(),
301301
Applicability::MachineApplicable,
302-
).emit();
302+
).cancel();
303303

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

0 commit comments

Comments
 (0)