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

Enable lints for unused code/dependencies in our Rust crates #5617

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

andiflabs
Copy link
Contributor

Summary

Also forbid the use of println!, eprintln!, dbg! and similar invocations, which should not be allowed in a library.

Testing Plan

  • Unit tests
  • cargo clippy

Documentation

N/A

Breaking Change

N/A

@andiflabs andiflabs requested a review from a team as a code owner November 4, 2024 23:30
@andiflabs andiflabs force-pushed the andrea/warn-unreachable_pub branch from cf9d420 to b7a2f74 Compare November 5, 2024 00:04
Base automatically changed from andrea/warn-unreachable_pub to staging November 5, 2024 00:11
Also forbid the use of `println!`, `eprintln!`, `dbg!` and similar
invocations, which should not be allowed in a library.
@andiflabs andiflabs merged commit 652eae5 into staging Nov 5, 2024
22 checks passed
@andiflabs andiflabs deleted the andrea/warn-others branch November 5, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants