mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Merge pull request #3019 from auscompgeek/patch-1
lintlib: Use Python 3 compatible print
This commit is contained in:
commit
82e9f5ffa3
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def parse_lints(lints, filepath):
|
|||
last_comment.append(line[3:])
|
||||
elif line.startswith("declare_lint!"):
|
||||
import sys
|
||||
print "don't use `declare_lint!` in Clippy, use `declare_clippy_lint!` instead"
|
||||
print("don't use `declare_lint!` in Clippy, use `declare_clippy_lint!` instead")
|
||||
sys.exit(42)
|
||||
elif line.startswith("declare_clippy_lint!"):
|
||||
comment = False
|
||||
|
|
Loading…
Reference in a new issue