@@ -22,12 +22,12 @@ nightly = []
2222[lints .rust ]
2323# Groups
2424future_incompatible = { level = " warn" , priority = -1 }
25+ keyword_idents = { level = " warn" , priority = -1 }
2526nonstandard_style = { level = " warn" , priority = -1 }
2627rust_2018_idioms = { level = " warn" , priority = -1 }
2728
2829# Individual Lints
2930absolute_paths_not_starting_with_crate = " warn"
30- keyword_idents = " warn"
3131let_underscore_drop = " warn"
3232macro_use_extern_crate = " warn"
3333missing_abi = " deny"
@@ -42,7 +42,7 @@ single_use_lifetimes = "warn"
4242trivial_casts = " warn"
4343trivial_numeric_casts = " warn"
4444unreachable_pub = " warn"
45- # unsafe_code = "deny"
45+ unsafe_code = " deny"
4646unsafe_op_in_unsafe_fn = " warn"
4747unused_crate_dependencies = " warn"
4848unused_import_braces = " warn"
@@ -65,6 +65,7 @@ suspicious = { level = "warn", priority = -1 }
6565# Individual Lints
6666# # Restriction Clippy Lints
6767alloc_instead_of_core = " warn"
68+ as_pointer_underscore = " warn"
6869assertions_on_result_states = " warn"
6970dbg_macro = " warn"
7071decimal_literal_representation = " warn"
@@ -79,6 +80,7 @@ get_unwrap = "warn"
7980infinite_loop = " warn"
8081let_underscore_must_use = " warn"
8182let_underscore_untyped = " warn"
83+ literal_string_with_formatting_args = " warn"
8284lossy_float_literal = " warn"
8385map_err_ignore = " warn"
8486mem_forget = " warn"
@@ -92,8 +94,10 @@ multiple_unsafe_ops_per_block = "warn"
9294mutex_atomic = " warn"
9395needless_raw_strings = " warn"
9496non_ascii_literal = " warn"
97+ non_zero_suggestions = " warn"
9598panic_in_result_fn = " warn"
9699partial_pub_fields = " warn"
100+ pathbuf_init_then_push = " warn"
97101print_stdout = " warn"
98102redundant_type_annotations = " warn"
99103ref_patterns = " warn"
@@ -115,6 +119,8 @@ unnecessary_safety_comment = "warn"
115119unnecessary_safety_doc = " warn"
116120unnecessary_self_imports = " warn"
117121unneeded_field_pattern = " warn"
122+ unused_result_ok = " warn"
123+ unused_trait_names = " warn"
118124unwrap_in_result = " warn"
119125unwrap_used = " warn"
120126use_debug = " warn"
0 commit comments