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

More deny directives should be added #286

Open
Taowyoo opened this issue Jun 23, 2023 · 0 comments
Open

More deny directives should be added #286

Taowyoo opened this issue Jun 23, 2023 · 0 comments

Comments

@Taowyoo
Copy link
Collaborator

Taowyoo commented Jun 23, 2023

According to @TylerBloom

After stabilization (i.e. during the 3.5.0), more deny directives should be added. IMO, a decent starting list is:

#![deny(
    unused,
    dead_code,
    missing_docs,
    missing_debug_implementations,
    rustdoc::broken_intra_doc_links,
    unreachable_pub,
    unused_allocation,
    unused_comparisons,
    unused_parens,
    while_true,
    trivial_casts,
    trivial_numeric_casts,
    unused_extern_crates,
    unused_import_braces,
    unused_qualifications,
    unused_results,
    clippy::all,
)]
#![warn(rust_2018_idioms)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant