-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lint print_stderr
, similarly to print_stdout
#6348
Labels
A-lint
Area: New lints
Comments
tobin-crypto
changed the title
Add lint for
Add lint Nov 19, 2020
eprintln
, similarly to print_stdout
print_stderr
, similarly to print_stdout
justjosias
added a commit
to justjosias/rust-clippy
that referenced
this issue
Nov 22, 2020
Resolves rust-lang#6348 Almost identical to print_stdout, this lint applies to the `eprintln!` and `eprint!` macros rather than `println!` and `print!`.
Merged
justjosias
added a commit
to justjosias/rust-clippy
that referenced
this issue
Nov 29, 2020
Resolves rust-lang#6348 Almost identical to print_stdout, this lint applies to the `eprintln!` and `eprint!` macros rather than `println!` and `print!`.
ebroto
pushed a commit
to justjosias/rust-clippy
that referenced
this issue
Nov 30, 2020
Resolves rust-lang#6348 Almost identical to print_stdout, this lint applies to the `eprintln!` and `eprint!` macros rather than `println!` and `print!`.
justjosias
added a commit
to justjosias/rust-clippy
that referenced
this issue
Dec 4, 2020
Resolves rust-lang#6348 Almost identical to print_stdout, this lint applies to the `eprintln!` and `eprint!` macros rather than `println!` and `print!`.
bors
added a commit
that referenced
this issue
Dec 8, 2020
Add lint print_stderr Resolves #6348 Almost identical to print_stdout, this lint applies to the `eprintln!` and `eprint!` macros rather than `println!` and `print!`.
bors
added a commit
that referenced
this issue
Dec 8, 2020
Add lint print_stderr Resolves #6348 Almost identical to print_stdout, this lint applies to the `eprintln!` and `eprint!` macros rather than `println!` and `print!`. changelog: Add new lint [`print_stderr`]. [`println_empty_string`] and [`print_with_newline`] now apply to `eprint!()` and `eprintln!()` respectively.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What it does
Checks for printing on stderr. The purpose of this lint is to catch debugging remnants.
Categories (optional)
Restriction
Drawbacks
None.
The text was updated successfully, but these errors were encountered: