rust-clippy/tests/ui
bors e1842b0cac Auto merge of #5583 - ebroto:reversed_empty_ranges, r=yaahc,flip1995
Reversed empty ranges

This lint checks range expressions with inverted limits which result in empty ranges. This includes also the ranges used to index slices.

The lint reverse_range_loop was covering iteration of reversed ranges in a for loop, which is a subset of what this new lint covers, so it has been removed. I'm not sure if that's the best choice. It would be doable to check in the new lint that we are not in the arguments of a for loop; I went for removing it because the logic was too similar to keep them separated.

changelog: Added reversed_empty_ranges lint that checks for ranges where the limits have been inverted, resulting in empty ranges. Removed reverse_range_loop which was covering a subset of the new lint.

Closes #4192
Closes #96
2020-05-14 12:59:24 +00:00
..
author Rustup to rust-lang/rust#69506 2020-03-04 00:56:43 +01:00
auxiliary rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
checked_unwrap Move test for issue 5579 under tests/ui/crashes 2020-05-13 20:47:44 +02:00
cmp_owned Use correct path in comment 2019-08-26 15:28:35 +02:00
crashes Move test for issue 5579 under tests/ui/crashes 2020-05-13 20:47:44 +02:00
crate_level_checks Ignore no_std-test on windows and macos 2019-08-05 17:53:55 +02:00
missing_const_for_fn Prevent missing_const_for_fn on functions with const generic params 2020-02-21 19:56:44 -08:00
needless_bool Add run-rustfix for needless_bool lint 2019-08-05 22:10:56 +02:00
out_of_bounds_indexing Remove tests that only ICE on CI 2019-10-01 16:45:07 -07:00
absurd-extreme-comparisons.rs Use primitive type assoc consts in more tests 2020-04-08 00:43:27 +02:00
absurd-extreme-comparisons.stderr Use primitive type assoc consts in more tests 2020-04-08 00:43:27 +02:00
approx_const.rs Downgrade unreadable_literal to pedantic 2020-04-04 12:52:03 -07:00
approx_const.stderr Add LOG2_10 and LOG10_2 to approx_const lint 2020-02-18 08:05:00 -08:00
as_conversions.rs implemented as_conversions lint 2019-11-25 18:12:52 +03:00
as_conversions.stderr implemented as_conversions lint 2019-11-25 18:12:52 +03:00
assertions_on_constants.rs Match any expr for panic message 2019-10-07 20:40:05 +02:00
assertions_on_constants.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
assign_ops.fixed Add run-rustfix for assign_ops test 2019-08-28 07:23:23 +02:00
assign_ops.rs Add run-rustfix for assign_ops test 2019-08-28 07:23:23 +02:00
assign_ops.stderr Add run-rustfix for assign_ops test 2019-08-28 07:23:23 +02:00
assign_ops2.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
assign_ops2.stderr Update stderrs 2020-01-07 18:38:12 +09:00
atomic_ordering_bool.rs Split test cases into separate files 2020-01-06 16:39:31 -08:00
atomic_ordering_bool.stderr Split test cases into separate files 2020-01-06 16:39:31 -08:00
atomic_ordering_fence.rs Add memory fence tests for invalid_atomic_ordering 2020-01-09 09:51:42 -08:00
atomic_ordering_fence.stderr Add memory fence tests for invalid_atomic_ordering 2020-01-09 09:51:42 -08:00
atomic_ordering_int.rs Split test cases into separate files 2020-01-06 16:39:31 -08:00
atomic_ordering_int.stderr Split test cases into separate files 2020-01-06 16:39:31 -08:00
atomic_ordering_ptr.rs Split test cases into separate files 2020-01-06 16:39:31 -08:00
atomic_ordering_ptr.stderr Split test cases into separate files 2020-01-06 16:39:31 -08:00
atomic_ordering_uint.rs Split test cases into separate files 2020-01-06 16:39:31 -08:00
atomic_ordering_uint.stderr Split test cases into separate files 2020-01-06 16:39:31 -08:00
attrs.rs allow assertions_on_constants for collapsible_if and missing_test_files 2019-01-23 17:58:33 +03:00
attrs.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
author.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
author.stdout Fix author lint 2019-09-27 18:01:04 +02:00
await_holding_lock.rs Make lint also capture blocks and closures, adjust language to mention other mutex types 2020-04-21 21:07:43 -07:00
await_holding_lock.stderr Make lint also capture blocks and closures, adjust language to mention other mutex types 2020-04-21 21:07:43 -07:00
bit_masks.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
bit_masks.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
blacklisted_name.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
blacklisted_name.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
block_in_if_condition.fixed Update block_in_if_condition test files 2020-02-06 19:13:46 +01:00
block_in_if_condition.rs Update block_in_if_condition test files 2020-02-06 19:13:46 +01:00
block_in_if_condition.stderr Update block_in_if_condition test files 2020-02-06 19:13:46 +01:00
block_in_if_condition_closure.rs Update block_in_if_condition test files 2020-02-06 19:13:46 +01:00
block_in_if_condition_closure.stderr Update block_in_if_condition test files 2020-02-06 19:13:46 +01:00
bool_comparison.fixed Code clean-up and formatting 2020-03-23 21:21:18 +01:00
bool_comparison.rs Code clean-up and formatting 2020-03-23 21:21:18 +01:00
bool_comparison.stderr Code clean-up and formatting 2020-03-23 21:21:18 +01:00
borrow_box.rs Fix issue #2907. 2020-04-19 10:56:15 -04:00
borrow_box.stderr Fix issue #2907. 2020-04-19 10:56:15 -04:00
borrow_interior_mutable_const.rs Split up non_copy_const ui test 2020-01-27 12:14:11 +09:00
borrow_interior_mutable_const.stderr Split up non_copy_const ui test 2020-01-27 12:14:11 +09:00
box_vec.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
box_vec.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
builtin-type-shadow.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
builtin-type-shadow.stderr Update ui tests 2020-05-05 15:11:59 +02:00
bytecount.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
bytecount.stderr update test stderr 2020-01-31 20:21:10 +01:00
cast.rs Add widening tests for cast_sign_loss lint 2019-12-05 17:18:27 -08:00
cast.stderr Normalize lint messages in cast_precision_loss 2020-01-08 16:36:02 +09:00
cast_alignment.rs Improve cast_ptr_alignment lint 2019-07-09 17:02:26 +02:00
cast_alignment.stderr Improve cast_ptr_alignment lint 2019-07-09 17:02:26 +02:00
cast_lossless_float.fixed Fix cast_lossless false positive in impl const fn 2019-08-30 07:22:35 +02:00
cast_lossless_float.rs Fix cast_lossless false positive in impl const fn 2019-08-30 07:22:35 +02:00
cast_lossless_float.stderr Update stderrs 2020-01-07 18:38:12 +09:00
cast_lossless_integer.fixed Fix cast_lossless false positive in impl const fn 2019-08-30 07:22:35 +02:00
cast_lossless_integer.rs Fix cast_lossless false positive in impl const fn 2019-08-30 07:22:35 +02:00
cast_lossless_integer.stderr Update stderrs 2020-01-07 18:38:12 +09:00
cast_ref_to_mut.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
cast_ref_to_mut.stderr Update stderrs 2020-01-07 18:38:12 +09:00
cast_size.rs chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
cast_size.stderr Normalize lint messages in cast_precision_loss 2020-01-08 16:36:02 +09:00
cast_size_32bit.rs chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
cast_size_32bit.stderr Normalize lint messages in cast_precision_loss 2020-01-08 16:36:02 +09:00
cfg_attr_rustfmt.fixed Disable deprecated_cfg_attr lint for inner attributes 2019-01-13 11:53:43 +01:00
cfg_attr_rustfmt.rs Disable deprecated_cfg_attr lint for inner attributes 2019-01-13 11:53:43 +01:00
cfg_attr_rustfmt.stderr Apply suggestion from code review 2020-01-07 18:38:12 +09:00
char_lit_as_u8.rs use a structured suggestion for char-lit-as-u8 2019-09-04 08:50:55 -04:00
char_lit_as_u8.stderr use a structured suggestion for char-lit-as-u8 2019-09-04 08:50:55 -04:00
char_lit_as_u8_suggestions.fixed use a structured suggestion for char-lit-as-u8 2019-09-04 08:50:55 -04:00
char_lit_as_u8_suggestions.rs use a structured suggestion for char-lit-as-u8 2019-09-04 08:50:55 -04:00
char_lit_as_u8_suggestions.stderr use a structured suggestion for char-lit-as-u8 2019-09-04 08:50:55 -04:00
checked_conversions.fixed Added suggestion for conversion with is_ok. 2019-05-18 09:33:26 +02:00
checked_conversions.rs Added suggestion for conversion with is_ok. 2019-05-18 09:33:26 +02:00
checked_conversions.stderr Added suggestion for conversion with is_ok. 2019-05-18 09:33:26 +02:00
checked_conversions.stdout Added lint for TryFrom for checked integer conversion rust-lang#3947. 2019-05-18 09:33:25 +02:00
clone_on_copy_impl.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
clone_on_copy_mut.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
cmp_nan.rs Fix NAN comparison lint to use assoc NAN 2020-04-08 00:43:27 +02:00
cmp_nan.stderr Fix NAN comparison lint to use assoc NAN 2020-04-08 00:43:27 +02:00
cmp_null.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
cmp_null.stderr Update stderrs 2020-01-07 18:38:12 +09:00
cognitive_complexity.rs Reduce cognitive complexity lint span 2019-12-21 18:07:53 -08:00
cognitive_complexity.stderr Reduce cognitive complexity lint span 2019-12-21 18:07:53 -08:00
cognitive_complexity_attr_used.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
cognitive_complexity_attr_used.stderr Reduce cognitive complexity lint span 2019-12-21 18:07:53 -08:00
collapsible_else_if.fixed Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
collapsible_else_if.rs Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
collapsible_else_if.stderr Update remaining test files 2020-02-06 19:15:01 +01:00
collapsible_if.fixed Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
collapsible_if.rs Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
collapsible_if.stderr Update remaining test files 2020-02-06 19:15:01 +01:00
collapsible_span_lint_calls.fixed Change note_span argument for span_lint_and_note. 2020-04-18 18:29:36 +08:00
collapsible_span_lint_calls.rs Change note_span argument for span_lint_and_note. 2020-04-18 18:29:36 +08:00
collapsible_span_lint_calls.stderr Change note_span argument for span_lint_and_note. 2020-04-18 18:29:36 +08:00
comparison_chain.rs [comparison_chain] #4827 Check core::cmp::Ord is implemented 2019-11-24 10:00:06 +01:00
comparison_chain.stderr [comparison_chain] #4827 Check core::cmp::Ord is implemented 2019-11-24 10:00:06 +01:00
complex_types.rs Change lint to be pedantic 2019-10-15 09:58:11 +02:00
complex_types.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
copy_iterator.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
copy_iterator.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
cstring.rs Fix temporary_cstring_as_ptr false negative 2019-08-21 07:35:04 +02:00
cstring.stderr update test stderr 2020-01-31 20:21:10 +01:00
custom_ice_message.rs Normalize custom ICE test 2019-12-02 20:42:39 +01:00
custom_ice_message.stderr Rustup to rust-lang/rust#68788 2020-02-06 20:33:39 +01:00
dbg_macro.rs add more test cases for dbg_macro rule 2019-02-02 04:54:51 +09:00
dbg_macro.stderr Rustup to rust-lang/rust#65773 2019-10-26 21:54:04 +02:00
debug_assert_with_mut_call.rs Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
debug_assert_with_mut_call.stderr Add test for await in debug_assert!(..) 2020-01-31 10:57:51 +01:00
decimal_literal_representation.fixed Do not drop suffixes on decimal_literal_representation 2019-12-26 01:22:36 +09:00
decimal_literal_representation.rs Do not drop suffixes on decimal_literal_representation 2019-12-26 01:22:36 +09:00
decimal_literal_representation.stderr Do not drop suffixes on decimal_literal_representation 2019-12-26 01:22:36 +09:00
declare_interior_mutable_const.rs Split up non_copy_const ui test 2020-01-27 12:14:11 +09:00
declare_interior_mutable_const.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
def_id_nocore.rs Change lint to be pedantic 2019-10-15 09:58:11 +02:00
def_id_nocore.stderr Change lint to be pedantic 2019-10-15 09:58:11 +02:00
default_lint.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
default_lint.stderr Remove unnecessary imports from tests 2020-02-11 06:20:47 -08:00
default_trait_access.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
default_trait_access.stderr Update stderrs 2020-01-07 18:38:12 +09:00
deprecated.rs Deprecate unused_label lint 2019-12-21 16:20:30 +01:00
deprecated.stderr Deprecate unused_label lint 2019-12-21 16:20:30 +01:00
deprecated_old.rs Deprecate unused_collect lint 2019-08-14 21:47:11 +02:00
deprecated_old.stderr Deprecate unused_collect lint 2019-08-14 21:47:11 +02:00
deref_addrof.fixed Add run-rustfix for deref_addrof lint 2019-04-16 20:32:54 +02:00
deref_addrof.rs Add run-rustfix for deref_addrof lint 2019-04-16 20:32:54 +02:00
deref_addrof.stderr Add run-rustfix for deref_addrof lint 2019-04-16 20:32:54 +02:00
deref_addrof_double_trigger.rs deref_addrof_double_trigger: Note why rustfix can't be used 2019-09-20 14:51:28 +09:00
deref_addrof_double_trigger.stderr deref_addrof_double_trigger: Note why rustfix can't be used 2019-09-20 14:51:28 +09:00
deref_addrof_macro.rs Allow deref_addrof in macros 2019-09-03 00:17:23 +09:00
dereference.fixed Better precedence case management + more tests 2020-04-15 17:18:12 +02:00
dereference.rs Better precedence case management + more tests 2020-04-15 17:18:12 +02:00
dereference.stderr Better precedence case management + more tests 2020-04-15 17:18:12 +02:00
derive.rs UI test cleanup: Extract derive_hash_xor_eq tests 2019-10-28 07:34:29 +01:00
derive.stderr UI test cleanup: Extract derive_hash_xor_eq tests 2019-10-28 07:34:29 +01:00
derive_hash_xor_eq.rs Fix false positive in derive_hash_xor_eq 2019-11-11 07:59:53 +01:00
derive_hash_xor_eq.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
diverging_sub_expression.rs Remove never_type feature 2019-11-22 13:47:33 +01:00
diverging_sub_expression.stderr Remove never_type feature 2019-11-22 13:47:33 +01:00
dlist.rs Fix tests for edition 2018 compatibility 2019-07-23 03:59:09 +08:00
dlist.stderr Update stderrs 2020-01-07 18:38:12 +09:00
doc.rs Update pulldown-cmark to 0.5.3 2019-07-19 07:29:25 +02:00
doc.stderr Update tests 2019-03-10 22:07:10 +01:00
doc_errors.rs Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
doc_errors.stderr Add tests and improve checks. 2020-02-17 14:43:38 +01:00
doc_unsafe.rs Downgrade let_unit_value to pedantic 2020-04-02 18:31:31 -07:00
doc_unsafe.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
double_comparison.fixed Remove all copyright license headers 2019-01-08 21:46:39 +01:00
double_comparison.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
double_comparison.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
double_must_use.rs new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
double_must_use.stderr new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
double_neg.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
double_neg.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
double_parens.rs Add rustfmt::skip to double_parens tests 2019-02-28 08:02:45 +02:00
double_parens.stderr Add rustfmt::skip to double_parens tests 2019-02-28 08:02:45 +02:00
drop_bounds.rs Fix formatting 2019-02-18 19:36:58 -07:00
drop_bounds.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
drop_forget_copy.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
drop_forget_copy.stderr Update stderrs 2020-01-07 18:38:12 +09:00
drop_ref.rs Split up drop_forget_ref ui test 2020-02-01 20:28:27 +09:00
drop_ref.stderr Split up drop_forget_ref ui test 2020-02-01 20:28:27 +09:00
duplicate_underscore_argument.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
duplicate_underscore_argument.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
duration_subsec.fixed Add run-rustfix to duration_subsec test 2019-01-13 12:06:28 +01:00
duration_subsec.rs Add run-rustfix to duration_subsec test 2019-01-13 12:06:28 +01:00
duration_subsec.stderr Add run-rustfix to duration_subsec test 2019-01-13 12:06:28 +01:00
else_if_without_else.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
else_if_without_else.stderr Update stderrs 2020-01-07 18:38:12 +09:00
empty_enum.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
empty_enum.stderr Update empty_enum.stderr 2020-04-19 21:00:25 +02:00
empty_line_after_outer_attribute.rs Add rustfmt::skip to outer attr format tests 2019-02-27 07:41:07 +02:00
empty_line_after_outer_attribute.stderr Update stderrs 2020-01-07 18:38:12 +09:00
empty_loop.rs Deprecate unused_label lint 2019-12-21 16:20:30 +01:00
empty_loop.stderr Deprecate unused_label lint 2019-12-21 16:20:30 +01:00
entry_fixable.fixed map_entry test: Fix semicolon, add run-rustfix 2019-09-25 14:45:18 -07:00
entry_fixable.rs map_entry test: Fix semicolon, add run-rustfix 2019-09-25 14:45:18 -07:00
entry_fixable.stderr map_entry test: Fix semicolon, add run-rustfix 2019-09-25 14:45:18 -07:00
entry_unfixable.rs map_entry test: Fix semicolon, add run-rustfix 2019-09-25 14:45:18 -07:00
entry_unfixable.stderr map_entry test: Fix semicolon, add run-rustfix 2019-09-25 14:45:18 -07:00
enum_clike_unportable_variant.rs Use primitive type assoc consts in more tests 2020-04-08 00:43:27 +02:00
enum_clike_unportable_variant.stderr Use primitive type assoc consts in more tests 2020-04-08 00:43:27 +02:00
enum_glob_use.fixed Move enum_glob_use lint into wildcard_imports pass 2020-02-21 11:14:17 +01:00
enum_glob_use.rs Move enum_glob_use lint into wildcard_imports pass 2020-02-21 11:14:17 +01:00
enum_glob_use.stderr Move enum_glob_use lint into wildcard_imports pass 2020-02-21 11:14:17 +01:00
enum_variants.rs Don't emit enum_variant_names if remainder starts with a numeric 2019-08-06 20:45:36 +02:00
enum_variants.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
eq_op.rs Ignore macros with ! operators in eq_op 2020-01-22 16:48:00 +09:00
eq_op.stderr Leave note on non-rustfixable tests 2019-09-25 14:45:18 -07:00
erasing_op.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
erasing_op.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
escape_analysis.rs Add wild and struct handling 2020-02-04 22:53:24 +01:00
escape_analysis.stderr Use span_lint_and_sugg + move infaillible lint 2020-02-04 22:49:08 +01:00
eta.fixed Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
eta.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
eta.stderr Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
eval_order_dependence.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
eval_order_dependence.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
excessive_precision.fixed Separate out lint to check lossy whole number float literals 2020-02-20 22:33:36 -08:00
excessive_precision.rs Separate out lint to check lossy whole number float literals 2020-02-20 22:33:36 -08:00
excessive_precision.stderr Separate out lint to check lossy whole number float literals 2020-02-20 22:33:36 -08:00
exit1.rs Update tests for exit 2019-11-07 17:11:06 +01:00
exit1.stderr Update tests for exit 2019-11-07 17:11:06 +01:00
exit2.rs Update tests for exit 2019-11-07 17:11:06 +01:00
exit2.stderr Update tests for exit 2019-11-07 17:11:06 +01:00
exit3.rs Update tests for exit 2019-11-07 17:11:06 +01:00
expect.rs Split out tests 2019-10-18 07:40:48 +02:00
expect.stderr Apply review comments 2020-01-26 07:01:16 +09:00
expect_fun_call.fixed Fix expect_fun_call false negative on references 2019-12-19 06:57:56 +02:00
expect_fun_call.rs Fix expect_fun_call false negative on references 2019-12-19 06:57:56 +02:00
expect_fun_call.stderr Fix expect_fun_call false negative on references 2019-12-19 06:57:56 +02:00
explicit_counter_loop.rs Fix false positive in explicit_counter_loop lint 2019-11-11 11:36:53 +01:00
explicit_counter_loop.stderr Fix suggestion for ranges 2019-10-18 12:11:15 -04:00
explicit_write.fixed Add run-rustfix to explicit_write test 2019-01-13 12:22:59 +01:00
explicit_write.rs Add run-rustfix to explicit_write test 2019-01-13 12:22:59 +01:00
explicit_write.stderr Add run-rustfix to explicit_write test 2019-01-13 12:22:59 +01:00
explicit_write_non_rustfix.rs remove machine applicable suggestion explicit_write format #4542 2019-09-18 01:59:58 -07:00
explicit_write_non_rustfix.stderr remove machine applicable suggestion explicit_write format #4542 2019-09-18 01:59:58 -07:00
extra_unused_lifetimes.rs Run fmt and update test 2020-04-08 16:00:03 +02:00
extra_unused_lifetimes.stderr Run fmt and update test 2020-04-08 16:00:03 +02:00
fallible_impl_from.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
fallible_impl_from.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
filetype_is_file.rs format codebase. 2020-01-12 19:54:17 +08:00
filetype_is_file.stderr Fix grammar error. 2020-01-12 19:54:17 +08:00
filter_map_next.rs Add lints for find_map 2019-04-30 16:45:28 -03:00
filter_map_next.stderr Add lints for find_map 2019-04-30 16:45:28 -03:00
filter_methods.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
filter_methods.stderr Apply review comments 2020-01-26 07:01:16 +09:00
find_map.rs Add lints for find_map 2019-04-30 16:45:28 -03:00
find_map.stderr Apply review comments 2020-01-26 07:01:16 +09:00
float_arithmetic.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
float_arithmetic.stderr Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
float_cmp.rs Add float cmp tests for arrays 2020-04-09 08:08:36 +02:00
float_cmp.stderr Make the epsilon note spanless 2020-04-09 08:18:52 +02:00
float_cmp_const.rs Add float cmp const tests for arrays 2020-04-09 08:08:36 +02:00
float_cmp_const.stderr Make the epsilon note spanless 2020-04-09 08:18:52 +02:00
floating_point_abs.fixed Update test case answers to match cargo dev fmt 2020-03-03 19:23:04 -08:00
floating_point_abs.rs Ran cargo dev fmt 2020-03-03 18:06:59 -08:00
floating_point_abs.stderr Recommended changes from flip1995 2020-03-03 15:52:53 -08:00
floating_point_exp.fixed Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
floating_point_exp.rs Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
floating_point_exp.stderr Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
floating_point_log.fixed Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
floating_point_log.rs Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
floating_point_log.stderr Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
floating_point_mul_add.fixed Rename mul_add test file and add general improvements 2020-02-23 22:20:34 -08:00
floating_point_mul_add.rs Rename mul_add test file and add general improvements 2020-02-23 22:20:34 -08:00
floating_point_mul_add.stderr Rename mul_add test file and add general improvements 2020-02-23 22:20:34 -08:00
floating_point_powf.fixed Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
floating_point_powf.rs Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
floating_point_powf.stderr Add imprecise_flops lint 2020-02-23 22:36:15 -08:00
fn_address_comparisons.rs Lint unnamed address comparisons 2020-03-30 21:42:16 +02:00
fn_address_comparisons.stderr Lint unnamed address comparisons 2020-03-30 21:42:16 +02:00
fn_params_excessive_bools.rs add excessive bools lints 2020-02-05 20:54:58 +03:00
fn_params_excessive_bools.stderr add excessive bools lints 2020-02-05 20:54:58 +03:00
fn_to_numeric_cast.rs chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
fn_to_numeric_cast.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
fn_to_numeric_cast_32bit.rs chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
fn_to_numeric_cast_32bit.stderr chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
for_kv_map.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
for_kv_map.stderr Rustup to rust-lang/rust#65773 2019-10-26 21:54:04 +02:00
for_loop_fixable.fixed Remove reverse_range_loop lint 2020-05-13 20:33:32 +02:00
for_loop_fixable.rs Remove reverse_range_loop lint 2020-05-13 20:33:32 +02:00
for_loop_fixable.stderr Remove reverse_range_loop lint 2020-05-13 20:33:32 +02:00
for_loop_over_option_result.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
for_loop_over_option_result.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
for_loop_unfixable.rs Remove reverse_range_loop lint 2020-05-13 20:33:32 +02:00
for_loop_unfixable.stderr Remove reverse_range_loop lint 2020-05-13 20:33:32 +02:00
forget_ref.rs Split up drop_forget_ref ui test 2020-02-01 20:28:27 +09:00
forget_ref.stderr Split up drop_forget_ref ui test 2020-02-01 20:28:27 +09:00
format.fixed Extend redundant_clone to the case that cloned value is not consumed 2020-03-13 00:31:09 +09:00
format.rs Extend redundant_clone to the case that cloned value is not consumed 2020-03-13 00:31:09 +09:00
format.stderr Update stderrs 2020-01-07 18:38:12 +09:00
formatting.rs dont fire possible_missing_comma if intendation is present 2020-01-25 20:16:05 +03:00
formatting.stderr dont fire possible_missing_comma if intendation is present 2020-01-25 20:16:05 +03:00
functions.rs rustup improper_ctypes: extern "C" fns 2019-11-07 00:49:33 +07:00
functions.stderr Change lint to be pedantic 2019-10-15 09:58:11 +02:00
functions_maxlines.rs Fix too_many_lines false positive 2019-09-03 06:25:54 +02:00
functions_maxlines.stderr Fix too_many_lines false positive 2019-09-03 06:25:54 +02:00
future_not_send.rs Add the manual_async_fn lint 2020-05-07 21:42:40 +02:00
future_not_send.stderr Add the manual_async_fn lint 2020-05-07 21:42:40 +02:00
get_last_with_len.fixed Implement get_last_with_len lint 2019-05-20 18:01:21 -06:00
get_last_with_len.rs Implement get_last_with_len lint 2019-05-20 18:01:21 -06:00
get_last_with_len.stderr Implement get_last_with_len lint 2019-05-20 18:01:21 -06:00
get_unwrap.fixed Move get_unwrap to restriction 2019-03-09 13:48:06 -08:00
get_unwrap.rs Move get_unwrap to restriction 2019-03-09 13:48:06 -08:00
get_unwrap.stderr update test stderr 2020-01-31 20:21:10 +01:00
identity_conversion.fixed identity_conversion: make it use a rustfix test 2019-09-21 10:01:06 +09:00
identity_conversion.rs identity_conversion: make it use a rustfix test 2019-09-21 10:01:06 +09:00
identity_conversion.stderr update test stderr 2020-01-31 20:21:10 +01:00
identity_op.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
identity_op.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
if_let_mutex.rs factor ifs into function, add differing mutex test 2020-04-20 15:08:44 -04:00
if_let_mutex.stderr update stderr file 2020-04-20 15:47:08 -04:00
if_let_some_result.fixed Apply review comments 2020-01-19 10:14:03 +09:00
if_let_some_result.rs Treat more strange pattern 2020-01-19 21:14:47 +09:00
if_let_some_result.stderr Treat more strange pattern 2020-01-19 21:14:47 +09:00
if_not_else.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
if_not_else.stderr Update stderrs 2020-01-07 18:38:12 +09:00
if_same_then_else.rs Use primitive type assoc consts in more tests 2020-04-08 00:43:27 +02:00
if_same_then_else.stderr Split up if_same_then_else ui test 2020-01-19 15:04:41 +09:00
if_same_then_else2.rs Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
if_same_then_else2.stderr Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
ifs_same_cond.rs Add a new lint for comparison chains 2019-09-24 16:55:05 -05:00
ifs_same_cond.stderr Update stderrs 2020-01-07 18:38:12 +09:00
impl.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
impl.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
implicit_hasher.rs Downgrade implicit_hasher to pedantic 2020-04-08 08:43:20 -07:00
implicit_hasher.stderr Downgrade implicit_hasher to pedantic 2020-04-08 08:43:20 -07:00
implicit_return.fixed Downgrade match_bool to pedantic 2020-04-23 16:30:06 -07:00
implicit_return.rs Downgrade match_bool to pedantic 2020-04-23 16:30:06 -07:00
implicit_return.stderr Downgrade match_bool to pedantic 2020-04-23 16:30:06 -07:00
implicit_saturating_sub.fixed Update failing test 2020-05-11 21:40:33 +02:00
implicit_saturating_sub.rs Update failing test 2020-05-11 21:40:33 +02:00
implicit_saturating_sub.stderr Polished lint and tests 2020-04-18 12:03:52 +05:30
inconsistent_digit_grouping.fixed Allow UUID style formatting for inconsistent_digit_grouping lint 2020-04-12 01:24:37 +01:00
inconsistent_digit_grouping.rs Allow UUID style formatting for inconsistent_digit_grouping lint 2020-04-12 01:24:37 +01:00
inconsistent_digit_grouping.stderr Downgrade unreadable_literal to pedantic 2020-04-04 12:52:03 -07:00
indexing_slicing_index.rs Remove unnecessary comment 2020-02-04 01:29:11 +09:00
indexing_slicing_index.stderr rustup https://github.com/rust-lang/rust/pull/69325, update test stderr 2020-02-20 23:54:10 +01:00
indexing_slicing_slice.rs Split up indexing_slicing ui test 2020-02-03 15:09:17 +09:00
indexing_slicing_slice.stderr Split up indexing_slicing ui test 2020-02-03 15:09:17 +09:00
inefficient_to_string.fixed do minor cleanups 2019-12-24 03:06:52 +07:00
inefficient_to_string.rs do minor cleanups 2019-12-24 03:06:52 +07:00
inefficient_to_string.stderr rustup https://github.com/rust-lang/rust/pull/69189 2020-03-18 03:27:05 +01:00
infallible_destructuring_match.fixed Do not lint in macros for match lints 2020-04-16 14:57:12 +02:00
infallible_destructuring_match.rs Do not lint in macros for match lints 2020-04-16 14:57:12 +02:00
infallible_destructuring_match.stderr Do not lint in macros for match lints 2020-04-16 14:57:12 +02:00
infinite_iter.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
infinite_iter.stderr Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
infinite_loop.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
infinite_loop.stderr Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
inherent_to_string.rs Change lint to be pedantic 2019-10-15 09:58:11 +02:00
inherent_to_string.stderr update test stderr 2020-01-31 20:21:10 +01:00
inline_fn_without_body.fixed inline_fn_without_body: make it use a rustfix page 2019-09-21 10:01:06 +09:00
inline_fn_without_body.rs inline_fn_without_body: make it use a rustfix page 2019-09-21 10:01:06 +09:00
inline_fn_without_body.stderr inline_fn_without_body: make it use a rustfix page 2019-09-21 10:01:06 +09:00
int_plus_one.fixed Add run-rustfix for int_plus_one test 2019-08-28 07:23:23 +02:00
int_plus_one.rs Add run-rustfix for int_plus_one test 2019-08-28 07:23:23 +02:00
int_plus_one.stderr Update int_plus_one suggestion text 2019-08-28 07:29:30 +02:00
integer_arithmetic.rs Disallow bit-shifting in integer_arithmetic lint 2020-04-13 13:23:59 +10:00
integer_arithmetic.stderr Disallow bit-shifting in integer_arithmetic lint 2020-04-13 13:23:59 +10:00
integer_division.rs Adds lint for integer division 2019-06-12 09:37:14 -03:00
integer_division.stderr Adds lint for integer division 2019-06-12 09:37:14 -03:00
into_iter_on_ref.fixed Deprecate into_iter_on_array lint 2019-11-07 14:04:29 +01:00
into_iter_on_ref.rs Deprecate into_iter_on_array lint 2019-11-07 14:04:29 +01:00
into_iter_on_ref.stderr Update stderrs 2020-01-07 18:38:12 +09:00
invalid_upcast_comparisons.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
invalid_upcast_comparisons.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
issue-3145.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
issue-3145.stderr update test stderr, not sure which rustc pull request caused this. 2019-07-24 02:25:03 +02:00
issue-3746.rs don't fire empty_loop in no_std crates 2020-01-24 14:42:24 +03:00
issue_2356.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
issue_2356.stderr Update issue_2356.stderr reference file 2020-04-25 20:11:15 +02:00
issue_4266.rs Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
issue_4266.stderr Improvement: Don't show function body in needless_lifetimes 2020-03-19 12:03:02 +05:30
item_after_statement.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
item_after_statement.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
iter_cloned_collect.fixed unnecessary_clone: split rustfixable lint out into separate test 2019-09-25 14:45:18 -07:00
iter_cloned_collect.rs unnecessary_clone: split rustfixable lint out into separate test 2019-09-25 14:45:18 -07:00
iter_cloned_collect.stderr unnecessary_clone: split rustfixable lint out into separate test 2019-09-25 14:45:18 -07:00
iter_nth.rs Change lint to be pedantic 2019-10-15 09:58:11 +02:00
iter_nth.stderr Apply review comments 2020-01-26 07:01:16 +09:00
iter_nth_zero.fixed Add lint for iter.nth(0) 2020-01-04 11:20:11 -06:00
iter_nth_zero.rs Add lint for iter.nth(0) 2020-01-04 11:20:11 -06:00
iter_nth_zero.stderr Add lint for iter.nth(0) 2020-01-04 11:20:11 -06:00
iter_skip_next.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
iter_skip_next.stderr Apply review comments 2020-01-26 07:01:16 +09:00
iterator_step_by_zero.rs Update iterator_step_by_zero 2019-12-18 18:59:43 +02:00
iterator_step_by_zero.stderr Update iterator_step_by_zero 2019-12-18 18:59:43 +02:00
large_const_arrays.fixed Add lint on large const arrays 2020-04-09 09:09:39 +02:00
large_const_arrays.rs Add lint on large const arrays 2020-04-09 09:09:39 +02:00
large_const_arrays.stderr Add lint on large const arrays 2020-04-09 09:09:39 +02:00
large_digit_groups.fixed chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
large_digit_groups.rs chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
large_digit_groups.stderr chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
large_enum_variant.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
large_enum_variant.stderr large_enum_variant: Report sizes of variants 2020-04-15 09:56:32 +02:00
large_stack_arrays.rs Add new lint: large stack array 2019-11-13 21:44:29 +03:00
large_stack_arrays.stderr Update stderrs 2020-01-07 18:38:12 +09:00
len_without_is_empty.rs Change lint to be pedantic 2019-10-15 09:58:11 +02:00
len_without_is_empty.stderr Add run-rustfix for len_zero lint 2019-04-16 21:46:07 +02:00
len_zero.fixed Change lint to be pedantic 2019-10-15 09:58:11 +02:00
len_zero.rs Change lint to be pedantic 2019-10-15 09:58:11 +02:00
len_zero.stderr Update stderr file 2019-08-01 22:20:08 +09:00
let_if_seq.rs cargo fmt 2019-04-25 19:41:23 -07:00
let_if_seq.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
let_return.rs Do not trigger let_and_return lint on macros 2020-01-07 05:26:20 +09:00
let_return.stderr Update stderrs 2020-01-07 18:38:12 +09:00
let_underscore_lock.rs lint all guard types, not just lock functions 2020-01-30 18:46:22 +03:00
let_underscore_lock.stderr lint all guard types, not just lock functions 2020-01-30 18:46:22 +03:00
let_underscore_must_use.rs Test for ignoring let_underscore_must_use 2020-04-02 00:44:09 +05:30
let_underscore_must_use.stderr decouple 'let_underscore' tests 2020-01-30 16:51:23 +03:00
let_unit.fixed Add tests for auto fixable let_unit suggestion 2019-08-05 09:31:08 +02:00
let_unit.rs Add tests for auto fixable let_unit suggestion 2019-08-05 09:31:08 +02:00
let_unit.stderr Rustup to rust-lang/rust#65773 2019-10-26 21:54:04 +02:00
lint_without_lint_pass.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
lint_without_lint_pass.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
literals.rs Fix false positive in zero_prefixed_literal 2020-02-13 14:39:29 +09:00
literals.stderr Fix false positive in zero_prefixed_literal 2020-02-13 14:39:29 +09:00
logic_bug.rs Split up booleans ui test 2020-01-14 08:32:33 +09:00
logic_bug.stderr Split up booleans ui test 2020-01-14 08:32:33 +09:00
lossy_float_literal.fixed Separate out lint to check lossy whole number float literals 2020-02-20 22:33:36 -08:00
lossy_float_literal.rs Separate out lint to check lossy whole number float literals 2020-02-20 22:33:36 -08:00
lossy_float_literal.stderr Separate out lint to check lossy whole number float literals 2020-02-20 22:33:36 -08:00
macro_use_imports.rs Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
macro_use_imports.stderr Rename macro_use_import -> macro_use_imports 2020-03-05 19:22:17 +01:00
manual_async_fn.fixed Apply suggestions from PR review 2020-05-07 22:40:28 +02:00
manual_async_fn.rs Apply suggestions from PR review 2020-05-07 22:40:28 +02:00
manual_async_fn.stderr Apply suggestions from PR review 2020-05-07 22:40:28 +02:00
manual_memcpy.rs Remove reverse_range_loop lint 2020-05-13 20:33:32 +02:00
manual_memcpy.stderr Add missing tests 2020-04-30 17:32:37 +12:00
manual_non_exhaustive.rs Apply suggestions from PR review 2020-05-01 22:37:14 +02:00
manual_non_exhaustive.stderr Apply suggestions from PR review 2020-05-01 22:37:14 +02:00
manual_saturating_arithmetic.fixed Add manual_saturating_arithmetic lint 2019-09-04 18:38:25 +09:00
manual_saturating_arithmetic.rs Add manual_saturating_arithmetic lint 2019-09-04 18:38:25 +09:00
manual_saturating_arithmetic.stderr Add manual_saturating_arithmetic lint 2019-09-04 18:38:25 +09:00
many_single_char_names.rs Rustup to rustc 1.39.0-nightly (acf7b50c7 2019-09-25) 2019-09-25 11:11:14 -07:00
many_single_char_names.stderr Rustup to rustc 1.39.0-nightly (acf7b50c7 2019-09-25) 2019-09-25 11:11:14 -07:00
map_clone.fixed map_clone: avoid suggesting copied() for &mut 2020-04-25 22:52:19 +02:00
map_clone.rs map_clone: avoid suggesting copied() for &mut 2020-04-25 22:52:19 +02:00
map_clone.stderr map_clone: avoid suggesting copied() for &mut 2020-04-25 22:52:19 +02:00
map_flatten.fixed Add test to map_flatten with an Option 2020-04-16 08:00:32 +02:00
map_flatten.rs Add test to map_flatten with an Option 2020-04-16 08:00:32 +02:00
map_flatten.stderr Add test to map_flatten with an Option 2020-04-16 08:00:32 +02:00
map_unit_fn.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
match_as_ref.fixed Fix match_as_ref bad suggestion 2019-08-25 07:10:45 +02:00
match_as_ref.rs Fix match_as_ref bad suggestion 2019-08-25 07:10:45 +02:00
match_as_ref.stderr Update stderrs 2020-01-07 18:38:12 +09:00
match_bool.rs Downgrade match_bool to pedantic 2020-04-23 16:30:06 -07:00
match_bool.stderr Downgrade match_bool to pedantic 2020-04-23 16:30:06 -07:00
match_on_vec_items.rs Fix match on vec items: match on vec[..] 2020-05-02 14:25:45 +03:00
match_on_vec_items.stderr Small lint update 2020-04-26 18:00:51 +03:00
match_overlapping_arm.rs Comment out half-open patterns' tests 2020-01-12 03:05:47 +09:00
match_overlapping_arm.stderr Comment out half-open patterns' tests 2020-01-12 03:05:47 +09:00
match_ref_pats.rs Add wild and struct handling 2020-02-04 22:53:24 +01:00
match_ref_pats.stderr Add wild and struct handling 2020-02-04 22:53:24 +01:00
match_same_arms.rs Split up match_same_arms ui test 2020-01-25 14:25:45 +09:00
match_same_arms.stderr Split up match_same_arms ui test 2020-01-25 14:25:45 +09:00
match_same_arms2.rs Split up match ui test 2020-01-30 12:06:42 +09:00
match_same_arms2.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
match_single_binding.fixed Do not lint in macros for match lints 2020-04-16 14:57:12 +02:00
match_single_binding.rs Do not lint in macros for match lints 2020-04-16 14:57:12 +02:00
match_single_binding.stderr Do not lint in macros for match lints 2020-04-16 14:57:12 +02:00
match_wild_err_arm.rs Split up match ui test 2020-01-30 12:06:42 +09:00
match_wild_err_arm.stderr Split up match ui test 2020-01-30 12:06:42 +09:00
mem_discriminant.fixed mem_discriminant: split test, make rustfixable 2019-09-25 14:45:18 -07:00
mem_discriminant.rs mem_discriminant: split test, make rustfixable 2019-09-25 14:45:18 -07:00
mem_discriminant.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
mem_discriminant_unfixable.rs mem_discriminant: split test, make rustfixable 2019-09-25 14:45:18 -07:00
mem_discriminant_unfixable.stderr update test stderr 2020-01-31 20:21:10 +01:00
mem_forget.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
mem_forget.stderr Update stderrs 2020-01-07 18:38:12 +09:00
mem_replace.fixed Remove remaining license header in test file 2020-02-20 12:06:45 +01:00
mem_replace.rs Remove remaining license header in test file 2020-02-20 12:06:45 +01:00
mem_replace.stderr Remove remaining license header in test file 2020-02-20 12:06:45 +01:00
mem_replace_macro.rs Remove unnecessary import 2019-12-31 09:22:35 -08:00
mem_replace_macro.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
methods.rs Check fn header along with decl when suggesting to implement trait 2020-04-08 21:24:20 +05:30
methods.stderr Check fn header along with decl when suggesting to implement trait 2020-04-08 21:24:20 +05:30
min_max.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
min_max.stderr Update stderrs 2020-01-07 18:38:12 +09:00
mismatched_target_os_non_unix.fixed Split tests in unix/non-unix 2020-04-26 21:27:29 +02:00
mismatched_target_os_non_unix.rs Split tests in unix/non-unix 2020-04-26 21:27:29 +02:00
mismatched_target_os_non_unix.stderr Split tests in unix/non-unix 2020-04-26 21:27:29 +02:00
mismatched_target_os_unix.fixed Split tests in unix/non-unix 2020-04-26 21:27:29 +02:00
mismatched_target_os_unix.rs Split tests in unix/non-unix 2020-04-26 21:27:29 +02:00
mismatched_target_os_unix.stderr Split tests in unix/non-unix 2020-04-26 21:27:29 +02:00
missing-doc-crate-missing.rs Another test for missing crate documentation. 2019-03-14 19:38:41 +01:00
missing-doc-crate-missing.stderr Another test for missing crate documentation. 2019-03-14 19:38:41 +01:00
missing-doc-crate.rs Add a test for doc(include) 2019-03-14 19:33:06 +01:00
missing-doc-crate.stderr Add a test for doc(include) 2019-03-14 19:33:06 +01:00
missing-doc-impl.rs Rustup to rust-lang/rust#61812 2020-02-27 12:19:18 +09:00
missing-doc-impl.stderr Split up missing-doc ui test 2020-01-10 04:35:37 +09:00
missing-doc.rs Split up missing-doc ui test 2020-01-10 04:35:37 +09:00
missing-doc.stderr Split up missing-doc ui test 2020-01-10 04:35:37 +09:00
missing_inline.rs account for external macro in MISSING_INLINE_IN_PUBLIC_ITEMS lint 2019-12-01 19:38:01 +07:00
missing_inline.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
mistyped_literal_suffix.fixed literal representation restructure 4 2019-11-13 08:27:19 +02:00
mistyped_literal_suffix.rs literal representation restructure 4 2019-11-13 08:27:19 +02:00
mistyped_literal_suffix.stderr literal representation restructure 4 2019-11-13 08:27:19 +02:00
module_inception.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
module_inception.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
module_name_repetitions.rs Fix false positive in module_name_repetitions lint 2019-04-19 12:53:03 +02:00
module_name_repetitions.stderr Fix false positive in module_name_repetitions lint 2019-04-19 12:53:03 +02:00
modulo_arithmetic_float.rs Add tests for new lint (modulo_arithmetic) 2019-12-28 16:46:08 +01:00
modulo_arithmetic_float.stderr Add tests for new lint (modulo_arithmetic) 2019-12-28 16:46:08 +01:00
modulo_arithmetic_integral.rs Add tests for new lint (modulo_arithmetic) 2019-12-28 16:46:08 +01:00
modulo_arithmetic_integral.stderr Add tests for new lint (modulo_arithmetic) 2019-12-28 16:46:08 +01:00
modulo_arithmetic_integral_const.rs Add tests for new lint (modulo_arithmetic) 2019-12-28 16:46:08 +01:00
modulo_arithmetic_integral_const.stderr Add tests for new lint (modulo_arithmetic) 2019-12-28 16:46:08 +01:00
modulo_one.rs New is_integer_const to check more const ints 2019-09-10 17:46:39 +02:00
modulo_one.stderr New is_integer_const to check more const ints 2019-09-10 17:46:39 +02:00
must_use_candidates.fixed useless Rc<Rc<T>>, Rc<Box<T>>, Rc<&T>, Box<&T> 2020-04-02 00:02:25 +02:00
must_use_candidates.rs useless Rc<Rc<T>>, Rc<Box<T>>, Rc<&T>, Box<&T> 2020-04-02 00:02:25 +02:00
must_use_candidates.stderr Update tests for revert of never type stabilization 2019-12-14 08:40:43 -05:00
must_use_unit.fixed new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
must_use_unit.rs new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
must_use_unit.stderr new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
mut_from_ref.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
mut_from_ref.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
mut_key.rs Downgrade implicit_hasher to pedantic 2020-04-08 08:43:20 -07:00
mut_key.stderr Downgrade implicit_hasher to pedantic 2020-04-08 08:43:20 -07:00
mut_mut.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
mut_mut.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
mut_range_bound.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
mut_range_bound.stderr Fix needless_pass_by_value 2019-10-04 15:39:46 +02:00
mut_reference.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
mut_reference.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
mutex_atomic.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
mutex_atomic.stderr Update stderrs 2020-01-07 18:38:12 +09:00
needless_borrow.fixed Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
needless_borrow.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
needless_borrow.stderr Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
needless_borrowed_ref.fixed needless_borrowed_ref: fix false positive, make rustfixable 2019-09-25 14:45:18 -07:00
needless_borrowed_ref.rs needless_borrowed_ref: fix false positive, make rustfixable 2019-09-25 14:45:18 -07:00
needless_borrowed_ref.stderr needless_borrowed_ref: fix false positive, make rustfixable 2019-09-25 14:45:18 -07:00
needless_collect.fixed needless_collect: fix suggestion, make test rustfixable 2019-09-25 14:45:18 -07:00
needless_collect.rs needless_collect: fix suggestion, make test rustfixable 2019-09-25 14:45:18 -07:00
needless_collect.stderr needless_collect: fix suggestion, make test rustfixable 2019-09-25 14:45:18 -07:00
needless_continue.rs Fix needless_continue false positive 2019-03-12 03:40:30 +09:00
needless_continue.stderr Improve help message in needless_continue 2020-02-06 19:15:01 +01:00
needless_doc_main.rs Update tests/ui/needless_doc_main.rs 2020-03-10 14:30:07 -07:00
needless_doc_main.stderr needless_doc_main: only check rust code 2020-03-10 20:19:37 +01:00
needless_lifetimes.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
needless_lifetimes.stderr Improvement: Don't show function body in needless_lifetimes 2020-03-19 12:03:02 +05:30
needless_pass_by_value.rs rustup improper_ctypes: extern "C" fns 2019-11-07 00:49:33 +07:00
needless_pass_by_value.stderr Update stderrs 2020-01-07 18:38:12 +09:00
needless_pass_by_value_proc_macro.rs Filter out proc_macro and proc_macro_attribute 2019-03-11 20:45:57 +09:00
needless_range_loop.rs Split up needless_range_loop ui test 2020-01-24 17:21:50 +09:00
needless_range_loop.stderr Split up needless_range_loop ui test 2020-01-24 17:21:50 +09:00
needless_range_loop2.rs Split up needless_range_loop ui test 2020-01-24 17:21:50 +09:00
needless_range_loop2.stderr Split up needless_range_loop ui test 2020-01-24 17:21:50 +09:00
needless_return.fixed Downgrade match_bool to pedantic 2020-04-23 16:30:06 -07:00
needless_return.rs Downgrade match_bool to pedantic 2020-04-23 16:30:06 -07:00
needless_return.stderr Update stderrs 2020-01-07 18:38:12 +09:00
needless_update.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
needless_update.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
neg_cmp_op_on_partial_ord.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
neg_cmp_op_on_partial_ord.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
neg_multiply.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
neg_multiply.stderr Update stderrs 2020-01-07 18:38:12 +09:00
never_loop.rs Fix never_loop false positive 2019-07-01 07:22:04 +02:00
never_loop.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
new_ret_no_self.rs Add lifetime test case for new_ret_no_self 2020-04-25 10:43:41 +02:00
new_ret_no_self.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
new_without_default.rs account for doc visibility 2019-10-02 21:15:28 +02:00
new_without_default.stderr Rustup to rust-lang/rust#65773 2019-10-26 21:54:04 +02:00
no_effect.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
no_effect.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
non_expressive_names.rs UI test cleanup: Extract many_single_char_names tests 2019-05-12 18:40:32 +02:00
non_expressive_names.stderr UI test cleanup: Extract many_single_char_names tests 2019-05-12 18:40:32 +02:00
non_expressive_names.stdout use a multispan for MANY_SINGLE_CHAR_NAMES 2019-04-05 10:07:39 -04:00
nonminimal_bool.rs Split up booleans ui test 2020-01-14 08:32:33 +09:00
nonminimal_bool.stderr Split up booleans ui test 2020-01-14 08:32:33 +09:00
nonminimal_bool_methods.rs Split up booleans ui test 2020-01-14 08:32:33 +09:00
nonminimal_bool_methods.stderr Split up booleans ui test 2020-01-14 08:32:33 +09:00
ok_expect.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
ok_expect.stderr Apply review comments 2020-01-26 07:01:16 +09:00
op_ref.rs op_ref: Move tests out of eq_op file 2019-09-20 23:21:37 +09:00
op_ref.stderr Update op_ref.stderr 2019-12-03 18:37:07 +01:00
open_options.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
open_options.stderr Update stderrs 2020-01-07 18:38:12 +09:00
option_and_then_some.fixed Add test 2019-08-19 05:41:47 +00:00
option_and_then_some.rs Add test 2019-08-19 05:41:47 +00:00
option_and_then_some.stderr update test stderr 2020-01-31 20:21:10 +01:00
option_as_ref_deref.fixed Lint on opt.as_ref().map(|x| &**x). 2020-04-06 22:53:59 +08:00
option_as_ref_deref.rs Lint on opt.as_ref().map(|x| &**x). 2020-04-06 22:53:59 +08:00
option_as_ref_deref.stderr Refine lint message. 2020-04-07 21:25:07 +08:00
option_env_unwrap.rs Use PATH environment variable for testing 2020-02-09 15:35:51 -08:00
option_env_unwrap.stderr Use PATH environment variable for testing 2020-02-09 15:35:51 -08:00
option_map_or_none.fixed Allow option_and_then_some in option_map_or_none test 2019-08-19 03:54:40 +00:00
option_map_or_none.rs Allow option_and_then_some in option_map_or_none test 2019-08-19 03:54:40 +00:00
option_map_or_none.stderr Update stderrs 2020-01-07 18:38:12 +09:00
option_map_unit_fn_fixable.fixed Improve placeholder in map_unit_fn 2020-03-09 20:37:06 +01:00
option_map_unit_fn_fixable.rs Improve placeholder in map_unit_fn 2020-03-09 20:37:06 +01:00
option_map_unit_fn_fixable.stderr Improve placeholder in map_unit_fn 2020-03-09 20:37:06 +01:00
option_map_unit_fn_unfixable.rs option_map_unit_fn: Split into fixable/unfixable 2019-09-25 14:45:18 -07:00
option_map_unit_fn_unfixable.stderr option_map_unit_fn: Split into fixable/unfixable 2019-09-25 14:45:18 -07:00
option_map_unwrap_or.rs Add real suggestion to option_map_unwrap_or 2019-12-28 23:24:45 +01:00
option_map_unwrap_or.stderr Update stderrs 2020-01-07 18:38:12 +09:00
option_option.rs Update option_option ui test 2020-04-01 12:15:39 -07:00
option_option.stderr Update option_option ui test 2020-04-01 12:15:39 -07:00
or_fun_call.fixed Rustup to rust-lang/rust#70632 2020-04-01 20:14:05 +02:00
or_fun_call.rs Rustup to rust-lang/rust#70632 2020-04-01 20:14:05 +02:00
or_fun_call.stderr Rustup to rust-lang/rust#70632 2020-04-01 20:14:05 +02:00
outer_expn_data.fixed rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
outer_expn_data.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
outer_expn_data.stderr update test stderr 2020-01-31 20:21:10 +01:00
overflow_check_conditional.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
overflow_check_conditional.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
panic.rs Split out tests 2019-10-18 07:40:48 +02:00
panic.stderr Split out tests 2019-10-18 07:40:48 +02:00
panicking_macros.rs Split out tests 2019-10-18 07:40:48 +02:00
panicking_macros.stderr Split out tests 2019-10-18 07:40:48 +02:00
partialeq_ne_impl.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
partialeq_ne_impl.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
path_buf_push_overwrite.fixed Move path_buf_push_overwrite to nursery 2019-04-21 10:24:51 -07:00
path_buf_push_overwrite.rs Move path_buf_push_overwrite to nursery 2019-04-21 10:24:51 -07:00
path_buf_push_overwrite.stderr Move path_buf_push_overwrite to nursery 2019-04-21 10:24:51 -07:00
patterns.fixed redundant_pattern: take binding (ref, ref mut) into account in suggestion. 2020-03-08 10:47:18 +01:00
patterns.rs redundant_pattern: take binding (ref, ref mut) into account in suggestion. 2020-03-08 10:47:18 +01:00
patterns.stderr redundant_pattern: take binding (ref, ref mut) into account in suggestion. 2020-03-08 10:47:18 +01:00
precedence.fixed Fix issue #4892. 2020-04-17 09:27:54 +02:00
precedence.rs Fix issue #4892. 2020-04-17 09:27:54 +02:00
precedence.stderr Add run-rustfix for precedence test 2019-01-13 14:26:09 +01:00
print.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
print.stderr Update stderr 2020-03-03 10:48:08 +01:00
print_literal.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
print_literal.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
print_with_newline.rs don't warn on CRLF in with_newline lints 2019-11-12 08:50:22 -05:00
print_with_newline.stderr don't warn on CRLF in with_newline lints 2019-11-12 08:50:22 -05:00
println_empty_string.fixed Merge fixes 2020-02-04 22:53:24 +01:00
println_empty_string.rs Merge fixes 2020-02-04 22:53:24 +01:00
println_empty_string.stderr Merge fixes 2020-02-04 22:53:24 +01:00
proc_macro.rs Omit proc macros from must_use_candidate 2019-10-18 15:54:25 +02:00
proc_macro.stderr Omit proc macros from must_use_candidate 2019-10-18 15:54:25 +02:00
ptr_arg.rs Test fixes 2019-10-03 08:10:29 +09:00
ptr_arg.stderr Rustup to rust-lang/rust#65773 2019-10-26 21:54:04 +02:00
ptr_offset_with_cast.fixed Remove all copyright license headers 2019-01-08 21:46:39 +01:00
ptr_offset_with_cast.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
ptr_offset_with_cast.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
question_mark.fixed question_mark: don't add as_ref() for a call expression 2020-04-17 13:09:02 +09:00
question_mark.rs question_mark: don't add as_ref() for a call expression 2020-04-17 13:09:02 +09:00
question_mark.stderr question_mark: don't add as_ref() for a call expression 2020-04-17 13:09:02 +09:00
range.rs Update iterator_step_by_zero 2019-12-18 18:59:43 +02:00
range.stderr Update stderrs 2020-01-07 18:38:12 +09:00
range_plus_minus_one.fixed New is_integer_const to check more const ints 2019-09-10 17:46:39 +02:00
range_plus_minus_one.rs New is_integer_const to check more const ints 2019-09-10 17:46:39 +02:00
range_plus_minus_one.stderr New is_integer_const to check more const ints 2019-09-10 17:46:39 +02:00
redundant_allocation.fixed useless Rc<Rc<T>>, Rc<Box<T>>, Rc<&T>, Box<&T> 2020-04-02 00:02:25 +02:00
redundant_allocation.rs useless Rc<Rc<T>>, Rc<Box<T>>, Rc<&T>, Box<&T> 2020-04-02 00:02:25 +02:00
redundant_allocation.stderr useless Rc<Rc<T>>, Rc<Box<T>>, Rc<&T>, Box<&T> 2020-04-02 00:02:25 +02:00
redundant_clone.fixed Fixes #5405: redundant clone false positive with arrays 2020-04-13 11:43:42 +05:30
redundant_clone.rs Fixes #5405: redundant clone false positive with arrays 2020-04-13 11:43:42 +05:30
redundant_clone.stderr Fixes #5405: redundant clone false positive with arrays 2020-04-13 11:43:42 +05:30
redundant_closure_call.rs redundant_closure_call: split tests into fixable 2019-09-25 14:45:18 -07:00
redundant_closure_call.stderr redundant_closure_call: split tests into fixable 2019-09-25 14:45:18 -07:00
redundant_closure_call_fixable.fixed redundant_closure_call: split tests into fixable 2019-09-25 14:45:18 -07:00
redundant_closure_call_fixable.rs redundant_closure_call: split tests into fixable 2019-09-25 14:45:18 -07:00
redundant_closure_call_fixable.stderr redundant_closure_call: split tests into fixable 2019-09-25 14:45:18 -07:00
redundant_field_names.fixed Add run-rustfix to redundant_field_names 2019-01-13 18:48:54 +01:00
redundant_field_names.rs Add run-rustfix to redundant_field_names 2019-01-13 18:48:54 +01:00
redundant_field_names.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
redundant_pattern_matching.fixed fix redundant_pattern_matching lint 2020-04-25 23:51:30 +03:00
redundant_pattern_matching.rs fix redundant_pattern_matching lint 2020-04-25 23:51:30 +03:00
redundant_pattern_matching.stderr fix redundant_pattern_matching lint 2020-04-25 23:51:30 +03:00
redundant_pub_crate.fixed Update for PR feedback 2020-03-20 22:52:53 +00:00
redundant_pub_crate.rs Update for PR feedback 2020-03-20 22:52:53 +00:00
redundant_pub_crate.stderr Update for PR feedback 2020-03-20 22:52:53 +00:00
redundant_static_lifetimes.fixed redundant_static_lifetimes: split test, make rustfixable 2019-09-25 14:45:18 -07:00
redundant_static_lifetimes.rs redundant_static_lifetimes: split test, make rustfixable 2019-09-25 14:45:18 -07:00
redundant_static_lifetimes.stderr redundant_static_lifetimes: split test, make rustfixable 2019-09-25 14:45:18 -07:00
redundant_static_lifetimes_multiple.rs redundant_static_lifetimes: split test, make rustfixable 2019-09-25 14:45:18 -07:00
redundant_static_lifetimes_multiple.stderr redundant_static_lifetimes: split test, make rustfixable 2019-09-25 14:45:18 -07:00
regex.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
regex.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
rename.fixed Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
rename.rs Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
rename.stderr Move cognitive_complexity to nursery 2020-04-08 08:37:20 -07:00
renamed_builtin_attr.fixed renamed_builtin_attr: make test rustfixable 2019-09-25 14:45:18 -07:00
renamed_builtin_attr.rs renamed_builtin_attr: make test rustfixable 2019-09-25 14:45:18 -07:00
renamed_builtin_attr.stderr renamed_builtin_attr: make test rustfixable 2019-09-25 14:45:18 -07:00
repl_uninit.rs new lint: mem-replace-with-uninit 2019-09-20 00:25:57 +02:00
repl_uninit.stderr new lint: mem-replace-with-uninit 2019-09-20 00:25:57 +02:00
rest_pat_in_fully_bound_structs.rs Do not lint in macros for match lints 2020-04-16 14:57:12 +02:00
rest_pat_in_fully_bound_structs.stderr Do not lint in macros for match lints 2020-04-16 14:57:12 +02:00
result_map_or_into_option.fixed result_map_or_into_option: add opt.map_or(None, |_| Some(y)) test 2020-04-04 14:16:26 -07:00
result_map_or_into_option.rs result_map_or_into_option: add opt.map_or(None, |_| Some(y)) test 2020-04-04 14:16:26 -07:00
result_map_or_into_option.stderr result_map_or_into_option: add lint to catch manually adpating Result -> Option 2020-04-04 03:17:13 -07:00
result_map_unit_fn_fixable.fixed Remove never_type feature 2019-11-22 13:47:33 +01:00
result_map_unit_fn_fixable.rs Remove never_type feature 2019-11-22 13:47:33 +01:00
result_map_unit_fn_fixable.stderr Improve error messages for {option,result}_map_unit_fn 2020-03-08 21:28:06 +00:00
result_map_unit_fn_unfixable.rs result_map_unit_fn: Fix incorrect UI tests 2020-04-13 15:26:53 +02:00
result_map_unit_fn_unfixable.stderr result_map_unit_fn: Fix incorrect UI tests 2020-04-13 15:26:53 +02:00
result_map_unwrap_or_else.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
result_map_unwrap_or_else.stderr Update stderrs 2020-01-07 18:38:12 +09:00
reversed_empty_ranges_fixable.fixed New lint: reversed_empty_ranges 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_fixable.rs New lint: reversed_empty_ranges 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_fixable.stderr New lint: reversed_empty_ranges 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_loops_fixable.fixed Re-add old tests for empty range loops 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_loops_fixable.rs Re-add old tests for empty range loops 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_loops_fixable.stderr Re-add old tests for empty range loops 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_loops_unfixable.rs Re-add old tests for empty range loops 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_loops_unfixable.stderr Re-add old tests for empty range loops 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_unfixable.rs New lint: reversed_empty_ranges 2020-05-13 20:33:32 +02:00
reversed_empty_ranges_unfixable.stderr New lint: reversed_empty_ranges 2020-05-13 20:33:32 +02:00
same_functions_in_if_condition.rs Implement if_same_cond_fn lint 2019-11-20 06:54:46 +03:00
same_functions_in_if_condition.stderr Update stderrs 2020-01-07 18:38:12 +09:00
serde.rs Revert "Turn off two tests broken due to #4108" 2019-05-20 12:31:53 +02:00
serde.stderr Revert "Turn off two tests broken due to #4108" 2019-05-20 12:31:53 +02:00
shadow.rs new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
shadow.stderr new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
short_circuit_statement.fixed Add run-rustfix for short_circuit_statement test 2019-08-22 07:21:29 +02:00
short_circuit_statement.rs Add run-rustfix for short_circuit_statement test 2019-08-22 07:21:29 +02:00
short_circuit_statement.stderr Add run-rustfix for short_circuit_statement test 2019-08-22 07:21:29 +02:00
similar_names.rs UI test cleanup: Extract similar_names tests 2019-02-10 09:48:31 +01:00
similar_names.stderr UI test cleanup: Extract similar_names tests 2019-02-10 09:48:31 +01:00
single_char_pattern.fixed Add more tests for raw string literal 2019-08-09 06:22:26 +00:00
single_char_pattern.rs Add more tests for raw string literal 2019-08-09 06:22:26 +00:00
single_char_pattern.stderr Update stderrs 2020-01-07 18:38:12 +09:00
single_component_path_imports.fixed Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
single_component_path_imports.rs Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
single_component_path_imports.stderr Add test and update reference. 2020-01-30 00:22:42 +08:00
single_match.rs Small formatting change 2020-03-31 16:13:51 +05:30
single_match.stderr Update remaining test files 2020-02-06 19:15:01 +01:00
single_match_else.rs Added test for single_match_else in macro 2020-03-31 15:49:49 +05:30
single_match_else.stderr Update remaining test files 2020-02-06 19:15:01 +01:00
skip_while_next.rs Add skip_while_next lint 2020-01-20 10:56:02 +09:00
skip_while_next.stderr Apply review comment 2020-01-20 21:07:31 +09:00
slow_vector_initialization.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
slow_vector_initialization.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
starts_ends_with.fixed Add run-rustfix to starts_ends_with 2019-01-13 19:40:14 +01:00
starts_ends_with.rs Add run-rustfix to starts_ends_with 2019-01-13 19:40:14 +01:00
starts_ends_with.stderr Add run-rustfix to starts_ends_with 2019-01-13 19:40:14 +01:00
string_add.rs Change to only detect in external macros. 2019-12-05 11:06:13 +01:00
string_add.stderr Change to only detect in external macros. 2019-12-05 11:06:13 +01:00
string_add_assign.fixed string_add, string_add_assign: split tests, make one rustfixable 2019-09-25 14:45:18 -07:00
string_add_assign.rs string_add, string_add_assign: split tests, make one rustfixable 2019-09-25 14:45:18 -07:00
string_add_assign.stderr string_add, string_add_assign: split tests, make one rustfixable 2019-09-25 14:45:18 -07:00
string_extend.fixed Change lint to be pedantic 2019-10-15 09:58:11 +02:00
string_extend.rs Change lint to be pedantic 2019-10-15 09:58:11 +02:00
string_extend.stderr Change lint to be pedantic 2019-10-15 09:58:11 +02:00
string_lit_as_bytes.fixed trigger string_lit_as_bytes when literal has escapes 2019-11-26 17:07:17 -05:00
string_lit_as_bytes.rs trigger string_lit_as_bytes when literal has escapes 2019-11-26 17:07:17 -05:00
string_lit_as_bytes.stderr trigger string_lit_as_bytes when literal has escapes 2019-11-26 17:07:17 -05:00
struct_excessive_bools.rs add excessive bools lints 2020-02-05 20:54:58 +03:00
struct_excessive_bools.stderr add excessive bools lints 2020-02-05 20:54:58 +03:00
suspicious_arithmetic_impl.rs Include OpAssign in suspicious_op_assign_impl 2020-04-05 22:25:51 +02:00
suspicious_arithmetic_impl.stderr Include OpAssign in suspicious_op_assign_impl 2020-04-05 22:25:51 +02:00
suspicious_map.rs Add ui test 2019-08-15 22:58:32 +02:00
suspicious_map.stderr Improve suspicious_mapdocumentation 2020-01-20 15:05:40 +09:00
suspicious_unary_op_formatting.rs New lint: suspicious_unary_op_formatting 2019-10-09 16:22:00 +02:00
suspicious_unary_op_formatting.stderr New lint: suspicious_unary_op_formatting 2019-10-09 16:22:00 +02:00
swap.fixed Rustup to rust-lang/rust#69506 2020-03-04 00:56:43 +01:00
swap.rs Rustup to rust-lang/rust#69506 2020-03-04 00:56:43 +01:00
swap.stderr Make manual_swap autofixable 2019-12-03 13:42:05 +01:00
tabs_in_doc_comments.fixed add new lint tabs in doc comments 2019-11-15 16:25:47 +01:00
tabs_in_doc_comments.rs add new lint tabs in doc comments 2019-11-15 16:25:47 +01:00
tabs_in_doc_comments.stderr add new lint tabs in doc comments 2019-11-15 16:25:47 +01:00
temporary_assignment.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
temporary_assignment.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
to_digit_is_some.fixed Add to_digit_is_some lint 2019-11-10 15:52:59 +02:00
to_digit_is_some.rs Add to_digit_is_some lint 2019-11-10 15:52:59 +02:00
to_digit_is_some.stderr Add to_digit_is_some lint 2019-11-10 15:52:59 +02:00
toplevel_ref_arg.fixed Don't trigger toplevel_ref_arg for for loops 2020-04-19 22:56:47 +09:00
toplevel_ref_arg.rs Don't trigger toplevel_ref_arg for for loops 2020-04-19 22:56:47 +09:00
toplevel_ref_arg.stderr Remove unused attribute in test 2019-09-26 01:53:39 +00:00
toplevel_ref_arg_non_rustfix.rs Add run-rustfix for toplevel_ref_arg lint 2019-09-23 11:22:31 +02:00
toplevel_ref_arg_non_rustfix.stderr Add run-rustfix for toplevel_ref_arg lint 2019-09-23 11:22:31 +02:00
trailing_zeros.rs Remove clippy::author attribute from trailing_zeroes test 2019-09-27 18:10:18 +02:00
trailing_zeros.stderr Remove clippy::author attribute from trailing_zeroes test 2019-09-27 18:10:18 +02:00
transmute.rs Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmute.stderr rustup https://github.com/rust-lang/rust/pull/69189 2020-03-18 03:27:05 +01:00
transmute_32bit.rs chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
transmute_32bit.stderr chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
transmute_64bit.rs chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
transmute_64bit.stderr chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
transmute_collection.rs New lint: unsound_collection_transmute 2019-10-02 21:18:00 +02:00
transmute_collection.stderr New lint: unsound_collection_transmute 2019-10-02 21:18:00 +02:00
transmute_float_to_int.rs Move transmute_float_to_int test cases into separate file 2019-12-07 17:19:56 -08:00
transmute_float_to_int.stderr Move transmute_float_to_int test cases into separate file 2019-12-07 17:19:56 -08:00
transmute_ptr_to_ptr.rs Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmute_ptr_to_ptr.stderr Move useless_transmute to nursery 2020-03-23 20:32:04 +01:00
transmute_ptr_to_ref.rs Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmute_ptr_to_ref.stderr rustup https://github.com/rust-lang/rust/pull/69189 2020-03-18 03:27:05 +01:00
transmuting_null.rs Add TransmutingNull Lint 2019-04-02 11:39:43 -03:00
transmuting_null.stderr Add TransmutingNull Lint 2019-04-02 11:39:43 -03:00
trivially_copy_pass_by_ref.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
trivially_copy_pass_by_ref.stderr Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
try_err.fixed Don't emit try_err lint in external macros 2019-10-24 07:52:01 +02:00
try_err.rs Don't emit try_err lint in external macros 2019-10-24 07:52:01 +02:00
try_err.stderr update test stderr 2020-01-31 20:21:10 +01:00
ty_fn_sig.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
type_repetition_in_bounds.rs Respond to review comments 2019-07-27 21:58:29 +01:00
type_repetition_in_bounds.stderr update test stderr 2020-01-31 20:21:10 +01:00
types.fixed implemented as_conversions lint 2019-11-25 18:12:52 +03:00
types.rs implemented as_conversions lint 2019-11-25 18:12:52 +03:00
types.stderr Update stderrs 2020-01-07 18:38:12 +09:00
unicode.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
unicode.stderr Update Unicode lint tests 2019-08-23 05:42:45 +00:00
uninit.rs Downgrade let_unit_value to pedantic 2020-04-02 18:31:31 -07:00
uninit.stderr Downgrade let_unit_value to pedantic 2020-04-02 18:31:31 -07:00
unit_arg.fixed Rustup to rust-lang/rust#70081 2020-04-01 20:12:36 +02:00
unit_arg.rs Rustup to rust-lang/rust#70081 2020-04-01 20:12:36 +02:00
unit_arg.stderr Rustup to rust-lang/rust#65773 2019-10-26 21:54:04 +02:00
unit_cmp.rs Update unit_cmp tests to include blocks for asserts 2019-10-03 14:38:04 +02:00
unit_cmp.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
unknown_attribute.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
unknown_attribute.stderr Add test for unknown Clippy attributes 2019-02-28 20:18:42 +01:00
unknown_clippy_lints.fixed Improve tests 2019-12-27 22:07:55 +09:00
unknown_clippy_lints.rs Improve tests 2019-12-27 22:07:55 +09:00
unknown_clippy_lints.stderr Improve tests 2019-12-27 22:07:55 +09:00
unnecessary_cast.rs Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
unnecessary_cast.stderr Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
unnecessary_cast_fixable.fixed Included binary and octal cases. 2020-03-04 13:21:01 +01:00
unnecessary_cast_fixable.rs Included binary and octal cases. 2020-03-04 13:21:01 +01:00
unnecessary_cast_fixable.stderr Update stderrs 2020-01-07 18:38:12 +09:00
unnecessary_clone.rs Fixed incorrect suggestion of clone_double_ref lint 2020-04-29 22:40:57 +03:00
unnecessary_clone.stderr Fixed incorrect suggestion of clone_double_ref lint 2020-04-29 22:40:57 +03:00
unnecessary_filter_map.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
unnecessary_filter_map.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
unnecessary_flat_map.fixed Update test 2019-08-13 21:50:52 +02:00
unnecessary_flat_map.rs Update test 2019-08-13 21:50:52 +02:00
unnecessary_flat_map.stderr Update test 2019-08-13 21:50:52 +02:00
unnecessary_fold.fixed Add multiline test 2019-08-14 19:34:50 +02:00
unnecessary_fold.rs Add multiline test 2019-08-14 19:34:50 +02:00
unnecessary_fold.stderr Update tests 2019-08-14 19:35:17 +02:00
unnecessary_operation.fixed unnecessary_operation: make test rustfixable 2019-09-25 14:45:18 -07:00
unnecessary_operation.rs unnecessary_operation: make test rustfixable 2019-09-25 14:45:18 -07:00
unnecessary_operation.stderr unnecessary_operation: make test rustfixable 2019-09-25 14:45:18 -07:00
unnecessary_ref.fixed Remove all copyright license headers 2019-01-08 21:46:39 +01:00
unnecessary_ref.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
unnecessary_ref.stderr update test stderr 2020-01-31 20:21:10 +01:00
unneeded_field_pattern.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
unneeded_field_pattern.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
unneeded_wildcard_pattern.fixed Add additional tests to unneeded_wildcard_pattern 2019-09-22 09:10:39 +02:00
unneeded_wildcard_pattern.rs Add additional tests to unneeded_wildcard_pattern 2019-09-22 09:10:39 +02:00
unneeded_wildcard_pattern.stderr update test stderr 2020-01-31 20:21:10 +01:00
unreadable_literal.fixed chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
unreadable_literal.rs chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
unreadable_literal.stderr chore: fix and split some ui tests on 32bit system 2019-12-01 19:07:02 +07:00
unsafe_derive_deserialize.rs Implement unsafe_derive_deserialize lint 2020-04-19 23:26:17 +02:00
unsafe_derive_deserialize.stderr Implement unsafe_derive_deserialize lint 2020-04-19 23:26:17 +02:00
unsafe_removed_from_name.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
unsafe_removed_from_name.stderr Update stderrs 2020-01-07 18:38:12 +09:00
unseparated_prefix_literals.fixed Add a regression test for proc-macro attribute 2019-09-09 16:14:32 +07:00
unseparated_prefix_literals.rs Add a regression test for proc-macro attribute 2019-09-09 16:14:32 +07:00
unseparated_prefix_literals.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
unused_io_amount.rs Lint vectored IO in unused_io_amount lint 2020-01-09 23:46:55 +09:00
unused_io_amount.stderr Lint vectored IO in unused_io_amount lint 2020-01-09 23:46:55 +09:00
unused_self.rs unused_self false positive 2020-03-29 22:22:36 +02:00
unused_self.stderr Change terminology from static to associated 2019-10-15 09:58:12 +02:00
unused_unit.fixed Change lint to be pedantic 2019-10-15 09:58:11 +02:00
unused_unit.rs Change lint to be pedantic 2019-10-15 09:58:11 +02:00
unused_unit.stderr update test stderr 2020-01-31 20:21:10 +01:00
unwrap.rs Split out tests 2019-10-18 07:40:48 +02:00
unwrap.stderr Apply review comments 2020-01-26 07:01:16 +09:00
unwrap_or.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
unwrap_or.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
update-all-references.sh Update CARGO_TARGET_DIR 2020-02-07 14:41:04 +07:00
update-references.sh build: improve script and travis config 2019-10-22 10:14:39 +07:00
use_self.fixed Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
use_self.rs Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
use_self.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
use_self_trait.fixed Split up use_self ui test 2020-01-12 06:08:58 +09:00
use_self_trait.rs Split up use_self ui test 2020-01-12 06:08:58 +09:00
use_self_trait.stderr Split up use_self ui test 2020-01-12 06:08:58 +09:00
used_underscore_binding.rs Test that we lint the awaited expression 2020-04-27 21:29:31 +02:00
used_underscore_binding.stderr Test that we lint the awaited expression 2020-04-27 21:29:31 +02:00
useful_asref.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
useless_asref.fixed Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
useless_asref.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
useless_asref.stderr Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
useless_attribute.fixed rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
useless_attribute.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
useless_attribute.stderr Whitelist unused attribute for use items. 2020-03-02 10:22:05 +01:00
vec.fixed Remove all copyright license headers 2019-01-08 21:46:39 +01:00
vec.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
vec.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
vec_box_sized.fixed add size parameter for lint 2020-01-25 18:06:52 +03:00
vec_box_sized.rs add size parameter for lint 2020-01-25 18:06:52 +03:00
vec_box_sized.stderr add size parameter for lint 2020-01-25 18:06:52 +03:00
verbose_file_reads.rs add CR feedback 2020-03-10 18:00:37 -04:00
verbose_file_reads.stderr add CR feedback 2020-03-10 18:00:37 -04:00
vtable_address_comparisons.rs Lint unnamed address comparisons 2020-03-30 21:42:16 +02:00
vtable_address_comparisons.stderr Lint unnamed address comparisons 2020-03-30 21:42:16 +02:00
while_let_loop.rs Split while_loop.rs tests 2019-05-08 09:24:24 +02:00
while_let_loop.stderr Split while_loop.rs tests 2019-05-08 09:24:24 +02:00
while_let_on_iterator.fixed fix fp on while-let-on-iterator 2020-05-02 14:21:29 +03:00
while_let_on_iterator.rs fix fp on while-let-on-iterator 2020-05-02 14:21:29 +03:00
while_let_on_iterator.stderr fix fp on while-let-on-iterator 2020-05-02 14:21:29 +03:00
wild_in_or_pats.rs Span help without suggestion 2020-01-07 19:10:59 +01:00
wild_in_or_pats.stderr Span help without suggestion 2020-01-07 19:10:59 +01:00
wildcard_enum_match_arm.fixed Change lint name to WILDCARD_IN_OR_PATTERNS 2020-01-07 18:48:16 +01:00
wildcard_enum_match_arm.rs Change lint name to WILDCARD_IN_OR_PATTERNS 2020-01-07 18:48:16 +01:00
wildcard_enum_match_arm.stderr update test stderr 2020-01-31 20:21:10 +01:00
wildcard_imports.fixed Fix test from auto-formatter fix 2020-05-09 11:10:16 -07:00
wildcard_imports.rs Remove check for Fn, reflect this in test cases, make test cases more robust/explicit 2020-05-09 11:09:38 -07:00
wildcard_imports.stderr Check is_macro inside check_exceptions, update references to fix test 2020-05-09 11:10:16 -07:00
write_literal.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
write_literal.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
write_with_newline.rs don't warn on CRLF in with_newline lints 2019-11-12 08:50:22 -05:00
write_with_newline.stderr don't warn on CRLF in with_newline lints 2019-11-12 08:50:22 -05:00
writeln_empty_string.fixed Remove all copyright license headers 2019-01-08 21:46:39 +01:00
writeln_empty_string.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
writeln_empty_string.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
wrong_self_convention.rs Downgrade trivially_copy_pass_by_ref to pedantic 2020-04-02 18:56:10 -07:00
wrong_self_convention.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
zero_div_zero.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
zero_div_zero.stderr Use assoc const NAN for zero_div_zero lint 2020-04-08 00:43:27 +02:00
zero_offset.rs New lint: zst_offset 2019-11-15 22:39:27 +01:00
zero_offset.stderr New lint: zst_offset 2019-11-15 22:39:27 +01:00
zero_ptr.fixed Add suggestion for zero-ptr lint 2019-10-02 22:38:00 +07:00
zero_ptr.rs Add suggestion for zero-ptr lint 2019-10-02 22:38:00 +07:00
zero_ptr.stderr Add suggestion for zero-ptr lint 2019-10-02 22:38:00 +07:00