2
2
3
3
[target .'cfg(all())' ]
4
4
rustflags = [
5
- # BEGIN - Embark standard lints v0.4
5
+ # BEGIN - Embark standard lints v5 for Rust 1.55+
6
6
# do not change or add/remove here, but one can add exceptions after this section
7
7
# for more info see: <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
8
8
" -Dunsafe_code" ,
@@ -12,6 +12,8 @@ rustflags = [
12
12
" -Wclippy::checked_conversions" ,
13
13
" -Wclippy::dbg_macro" ,
14
14
" -Wclippy::debug_assert_with_mut_call" ,
15
+ " -Wclippy::disallowed_method" ,
16
+ " -Wclippy::disallowed_type" ,
15
17
" -Wclippy::doc_markdown" ,
16
18
" -Wclippy::empty_enum" ,
17
19
" -Wclippy::enum_glob_use" ,
@@ -21,13 +23,17 @@ rustflags = [
21
23
" -Wclippy::explicit_into_iter_loop" ,
22
24
" -Wclippy::fallible_impl_from" ,
23
25
" -Wclippy::filter_map_next" ,
26
+ " -Wclippy::flat_map_option" ,
24
27
" -Wclippy::float_cmp_const" ,
25
28
" -Wclippy::fn_params_excessive_bools" ,
29
+ " -Wclippy::from_iter_instead_of_collect" ,
26
30
" -Wclippy::if_let_mutex" ,
27
31
" -Wclippy::implicit_clone" ,
28
32
" -Wclippy::imprecise_flops" ,
29
33
" -Wclippy::inefficient_to_string" ,
30
34
" -Wclippy::invalid_upcast_comparisons" ,
35
+ " -Wclippy::large_digit_groups" ,
36
+ " -Wclippy::large_stack_arrays" ,
31
37
" -Wclippy::large_types_passed_by_value" ,
32
38
" -Wclippy::let_unit_value" ,
33
39
" -Wclippy::linkedlist" ,
@@ -39,20 +45,25 @@ rustflags = [
39
45
" -Wclippy::map_unwrap_or" ,
40
46
" -Wclippy::match_on_vec_items" ,
41
47
" -Wclippy::match_same_arms" ,
48
+ " -Wclippy::match_wild_err_arm" ,
42
49
" -Wclippy::match_wildcard_for_single_variants" ,
43
50
" -Wclippy::mem_forget" ,
44
51
" -Wclippy::mismatched_target_os" ,
52
+ " -Wclippy::missing_enforced_import_renames" ,
45
53
" -Wclippy::mut_mut" ,
46
54
" -Wclippy::mutex_integer" ,
47
55
" -Wclippy::needless_borrow" ,
48
56
" -Wclippy::needless_continue" ,
57
+ " -Wclippy::needless_for_each" ,
49
58
" -Wclippy::option_option" ,
50
59
" -Wclippy::path_buf_push_overwrite" ,
51
60
" -Wclippy::ptr_as_ptr" ,
61
+ " -Wclippy::rc_mutex" ,
52
62
" -Wclippy::ref_option_ref" ,
53
63
" -Wclippy::rest_pat_in_fully_bound_structs" ,
54
64
" -Wclippy::same_functions_in_if_condition" ,
55
65
" -Wclippy::semicolon_if_nothing_returned" ,
66
+ " -Wclippy::single_match_else" ,
56
67
" -Wclippy::string_add_assign" ,
57
68
" -Wclippy::string_add" ,
58
69
" -Wclippy::string_lit_as_bytes" ,
@@ -68,5 +79,5 @@ rustflags = [
68
79
" -Wfuture_incompatible" ,
69
80
" -Wnonstandard_style" ,
70
81
" -Wrust_2018_idioms" ,
71
- # END - Embark standard lints v0.4
82
+ # END - Embark standard lints v5 for Rust 1.55+
72
83
]
0 commit comments