File tree
2,417 files changed
+29627
-13421
lines changed- book/src
- development
- clippy_config/src
- clippy_dev/src
- clippy_lints/src
- casts
- doc
- loops
- matches
- methods
- clippy_utils/src
- ty
- rustc_tools_util
- src
- tests
- ui
- author
- borrow_interior_mutable_const
- branches_sharing_code
- ui-toml
- absolute_paths
- allow_mixed_uninlined_format_args
- arbitrary_source_item_ordering
- arithmetic_side_effects_allowed
- array_size_threshold
- await_holding_invalid_type
- await_holding_invalid_type_with_replacement
- borrow_interior_mutable_const
- conf_deprecated_key
- dbg_macro
- declare_interior_mutable_const
- disallowed_macros
- disallowed_names_append
- disallowed_names_replace
- doc_valid_idents_append
- doc_valid_idents_replace
- duplicated_keys_deprecated
- duplicated_keys_deprecated_2
- excessive_nesting
- expect_used
- extra_unused_type_parameters
- fn_params_excessive_bools
- functions_maxlines
- good_toml_no_false_negatives
- ifs_same_cond
- indexing_slicing
- item_name_repetitions
- allowed_prefixes
- allowed_prefixes_extend
- threshold0
- large_futures
- large_include_file
- lint_decimal_readability
- macro_metavars_in_unsafe/default
- min_ident_chars
- min_rust_version
- missing_enforced_import_rename
- module_inception
- modulo_arithmetic
- mut_key
- needless_raw_string_hashes_one_allowed
- nonstandard_macro_braces
- panic
- path_ends_with_ext
- print_macro
- pub_crate_missing_docs
- pub_underscore_fields
- renamed_function_params
- replaceable_disallowed_types
- semicolon_block
- strict_non_send_fields_in_send_ty
- struct_excessive_bools
- suppress_lint_in_const
- toml_disallow
- toml_disallowed_methods
- toml_disallowed_types
- toml_inconsistent_struct_constructor
- toml_replaceable_disallowed_methods
- toml_trivially_copy
- toml_unknown_key
- undocumented_unsafe_blocks
- unwrap_used
- upper_case_acronyms_aggressive
- useless_vec
- vec_box_sized
- zero_single_char_names
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,417 files changed
+29627
-13421
lines changedDiff for: CHANGELOG.md
+7
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5530 | 5530 |
| |
5531 | 5531 |
| |
5532 | 5532 |
| |
| 5533 | + | |
5533 | 5534 |
| |
5534 | 5535 |
| |
5535 | 5536 |
| |
| |||
5743 | 5744 |
| |
5744 | 5745 |
| |
5745 | 5746 |
| |
| 5747 | + | |
5746 | 5748 |
| |
5747 | 5749 |
| |
5748 | 5750 |
| |
| |||
5813 | 5815 |
| |
5814 | 5816 |
| |
5815 | 5817 |
| |
| 5818 | + | |
5816 | 5819 |
| |
5817 | 5820 |
| |
5818 | 5821 |
| |
| |||
6068 | 6071 |
| |
6069 | 6072 |
| |
6070 | 6073 |
| |
| 6074 | + | |
6071 | 6075 |
| |
6072 | 6076 |
| |
6073 | 6077 |
| |
| |||
6144 | 6148 |
| |
6145 | 6149 |
| |
6146 | 6150 |
| |
| 6151 | + | |
6147 | 6152 |
| |
6148 | 6153 |
| |
6149 | 6154 |
| |
| |||
6268 | 6273 |
| |
6269 | 6274 |
| |
6270 | 6275 |
| |
| 6276 | + | |
6271 | 6277 |
| |
6272 | 6278 |
| |
6273 | 6279 |
| |
| |||
6276 | 6282 |
| |
6277 | 6283 |
| |
6278 | 6284 |
| |
| 6285 | + | |
6279 | 6286 |
| |
6280 | 6287 |
| |
6281 | 6288 |
| |
|
Diff for: Cargo.toml
+2-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
|
Diff for: book/src/development/basics.md
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 |
| - | |
| 78 | + | |
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
|
Diff for: book/src/lint_configuration.md
+22-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
74 | 84 |
| |
75 | 85 |
| |
76 | 86 |
| |
| |||
108 | 118 |
| |
109 | 119 |
| |
110 | 120 |
| |
111 |
| - | |
| 121 | + | |
112 | 122 |
| |
113 | 123 |
| |
114 | 124 |
| |
| |||
164 | 174 |
| |
165 | 175 |
| |
166 | 176 |
| |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
167 | 187 |
| |
168 | 188 |
| |
169 | 189 |
| |
| |||
764 | 784 |
| |
765 | 785 |
| |
766 | 786 |
| |
| 787 | + | |
767 | 788 |
| |
768 | 789 |
| |
769 | 790 |
| |
|
Diff for: clippy_config/src/conf.rs
+8-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
288 | 288 |
| |
289 | 289 |
| |
290 | 290 |
| |
| 291 | + | |
| 292 | + | |
| 293 | + | |
291 | 294 |
| |
292 | 295 |
| |
293 | 296 |
| |
| |||
298 | 301 |
| |
299 | 302 |
| |
300 | 303 |
| |
301 |
| - | |
| 304 | + | |
302 | 305 |
| |
303 | 306 |
| |
304 | 307 |
| |
| |||
325 | 328 |
| |
326 | 329 |
| |
327 | 330 |
| |
| 331 | + | |
| 332 | + | |
| 333 | + | |
328 | 334 |
| |
329 | 335 |
| |
330 | 336 |
| |
| |||
633 | 639 |
| |
634 | 640 |
| |
635 | 641 |
| |
| 642 | + | |
636 | 643 |
| |
637 | 644 |
| |
638 | 645 |
| |
|
Diff for: clippy_dev/src/fmt.rs
+7-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
290 | 290 |
| |
291 | 291 |
| |
292 | 292 |
| |
293 |
| - | |
294 |
| - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
295 | 300 |
| |
296 | 301 |
| |
297 | 302 |
| |
|
Diff for: clippy_lints/src/booleans.rs
+4-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
| |||
353 | 354 |
| |
354 | 355 |
| |
355 | 356 |
| |
356 |
| - | |
| 357 | + | |
| 358 | + | |
357 | 359 |
| |
358 | 360 |
| |
359 | 361 |
| |
| |||
553 | 555 |
| |
554 | 556 |
| |
555 | 557 |
| |
556 |
| - | |
| 558 | + | |
557 | 559 |
| |
558 | 560 |
| |
559 | 561 |
| |
|
+2-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 |
| - | |
| 145 | + | |
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 |
| - | |
| 149 | + | |
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
|
Diff for: clippy_lints/src/declared_lints.rs
+5
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
| 142 | + | |
142 | 143 |
| |
143 | 144 |
| |
144 | 145 |
| |
| |||
363 | 364 |
| |
364 | 365 |
| |
365 | 366 |
| |
| 367 | + | |
366 | 368 |
| |
367 | 369 |
| |
368 | 370 |
| |
| |||
417 | 419 |
| |
418 | 420 |
| |
419 | 421 |
| |
| 422 | + | |
420 | 423 |
| |
421 | 424 |
| |
422 | 425 |
| |
| |||
483 | 486 |
| |
484 | 487 |
| |
485 | 488 |
| |
| 489 | + | |
486 | 490 |
| |
487 | 491 |
| |
488 | 492 |
| |
| |||
684 | 688 |
| |
685 | 689 |
| |
686 | 690 |
| |
| 691 | + | |
687 | 692 |
| |
688 | 693 |
| |
689 | 694 |
| |
|
Diff for: clippy_lints/src/doc/mod.rs
+98
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
86 | 108 |
| |
87 | 109 |
| |
88 | 110 |
| |
| |||
637 | 659 |
| |
638 | 660 |
| |
639 | 661 |
| |
| 662 | + | |
640 | 663 |
| |
641 | 664 |
| |
642 | 665 |
| |
| |||
820 | 843 |
| |
821 | 844 |
| |
822 | 845 |
| |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
823 | 861 |
| |
824 | 862 |
| |
825 | 863 |
| |
| |||
843 | 881 |
| |
844 | 882 |
| |
845 | 883 |
| |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
846 | 944 |
| |
847 | 945 |
| |
848 | 946 |
| |
|
0 commit comments