Skip to content
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 a lint to warn about dbg_macro #3227

Closed
tzemanovic opened this issue May 13, 2024 · 1 comment · Fixed by #3257
Closed

add a lint to warn about dbg_macro #3227

tzemanovic opened this issue May 13, 2024 · 1 comment · Fixed by #3257

Comments

@tzemanovic
Copy link
Member

warn about clippy::dbg_macro but configure allow-dbg-in-tests = true (default is false)

@sug0
Copy link
Contributor

sug0 commented May 13, 2024

might also be helpful to include lints for println!() and eprintln!()

https://rust-lang.github.io/rust-clippy/master/index.html#/print_stdout
https://rust-lang.github.io/rust-clippy/master/index.html#/print_stderr

@sug0 sug0 added this to the Later / optional milestone May 13, 2024
@tzemanovic tzemanovic mentioned this issue May 16, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants