Created
February 26, 2025 22:45
-
-
Save mendess/23aaf128aa81bb5996abb23e81de1b9e to your computer and use it in GitHub Desktop.
Rust editition lint groups
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![warn(boxed_slice_into_iter)] | |
#![warn(dependency_on_unit_never_type_fallback)] | |
#![warn(deprecated_safe_2024)] | |
#![warn(edition_2024_expr_fragment_specifier)] | |
#![warn(if_let_rescope)] | |
#![warn(impl_trait_overcaptures)] | |
#![warn(keyword_idents_2024)] | |
#![warn(missing_unsafe_on_extern)] | |
#![warn(never_type_fallback_flowing_into_unsafe)] | |
#![warn(rust_2024_guarded_string_incompatible_syntax)] | |
#![warn(rust_2024_incompatible_pat)] | |
#![warn(rust_2024_prelude_collisions)] | |
#![warn(static_mut_refs)] | |
#![warn(tail_expr_drop_order)] | |
#![warn(unsafe_attr_outside_unsafe)] | |
#![warn(unsafe_op_in_unsafe_fn)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment