rust/tests/ui
Matthias Krüger c7c7ab23aa integer_arithmetic: detect integer arithmetic on references.
Also fixes the same for float_arithmetic.

changelog: integer_arithmetic,float_arithmetic: fix false negatives with references on integers

Fixes #5328
2020-03-18 14:52:01 +01:00
..
author Rustup to rust-lang/rust#69506 2020-03-04 00:56:43 +01:00
auxiliary Add tests for wildcard_imports lint 2020-02-21 11:02:25 +01:00
checked_unwrap Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
cmp_owned
crashes Auto merge of #5296 - sinkuu:fix_ice_trivial_bounds, r=flip1995 2020-03-10 12:25:07 +00:00
crate_level_checks
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
out_of_bounds_indexing
absurd-extreme-comparisons.rs
absurd-extreme-comparisons.stderr
approx_const.rs Add LOG2_10 and LOG10_2 to approx_const lint 2020-02-18 08:05:00 -08:00
approx_const.stderr Add LOG2_10 and LOG10_2 to approx_const lint 2020-02-18 08:05:00 -08:00
arithmetic.rs integer_arithmetic: detect integer arithmetic on references. 2020-03-18 14:52:01 +01:00
arithmetic.stderr integer_arithmetic: detect integer arithmetic on references. 2020-03-18 14:52:01 +01:00
as_conversions.rs
as_conversions.stderr
assertions_on_constants.rs
assertions_on_constants.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
assign_ops2.rs
assign_ops2.stderr
assign_ops.fixed
assign_ops.rs
assign_ops.stderr
atomic_ordering_bool.rs
atomic_ordering_bool.stderr
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
atomic_ordering_int.stderr
atomic_ordering_ptr.rs
atomic_ordering_ptr.stderr
atomic_ordering_uint.rs
atomic_ordering_uint.stderr
attrs.rs
attrs.stderr
author.rs
author.stdout
bit_masks.rs
bit_masks.stderr
blacklisted_name.rs
blacklisted_name.stderr
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
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
bool_comparison.fixed
bool_comparison.rs
bool_comparison.stderr
borrow_box.rs
borrow_box.stderr update test stderr 2020-01-31 20:21:10 +01: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
box_vec.stderr
builtin-type-shadow.rs
builtin-type-shadow.stderr
bytecount.rs
bytecount.stderr update test stderr 2020-01-31 20:21:10 +01:00
cast_alignment.rs
cast_alignment.stderr
cast_lossless_float.fixed
cast_lossless_float.rs
cast_lossless_float.stderr
cast_lossless_integer.fixed
cast_lossless_integer.rs
cast_lossless_integer.stderr
cast_ref_to_mut.rs
cast_ref_to_mut.stderr
cast_size_32bit.rs
cast_size_32bit.stderr
cast_size.rs
cast_size.stderr
cast.rs
cast.stderr
cfg_attr_rustfmt.fixed
cfg_attr_rustfmt.rs
cfg_attr_rustfmt.stderr
char_lit_as_u8_suggestions.fixed
char_lit_as_u8_suggestions.rs
char_lit_as_u8_suggestions.stderr
char_lit_as_u8.rs
char_lit_as_u8.stderr
checked_conversions.fixed
checked_conversions.rs
checked_conversions.stderr
checked_conversions.stdout
clone_on_copy_impl.rs
clone_on_copy_mut.rs
cmp_nan.rs
cmp_nan.stderr
cmp_null.rs
cmp_null.stderr
cognitive_complexity_attr_used.rs
cognitive_complexity_attr_used.stderr
cognitive_complexity.rs
cognitive_complexity.stderr
collapsible_else_if.fixed Update remaining test files 2020-02-06 19:15:01 +01:00
collapsible_else_if.rs
collapsible_else_if.stderr Update remaining test files 2020-02-06 19:15:01 +01:00
collapsible_if.fixed Update remaining test files 2020-02-06 19:15:01 +01:00
collapsible_if.rs
collapsible_if.stderr Update remaining test files 2020-02-06 19:15:01 +01:00
comparison_chain.rs
comparison_chain.stderr
complex_types.rs
complex_types.stderr
copy_iterator.rs
copy_iterator.stderr
cstring.rs
cstring.stderr update test stderr 2020-01-31 20:21:10 +01:00
custom_ice_message.rs
custom_ice_message.stderr Rustup to rust-lang/rust#68788 2020-02-06 20:33:39 +01:00
dbg_macro.rs
dbg_macro.stderr
debug_assert_with_mut_call.rs Add test for await in debug_assert!(..) 2020-01-31 10:57:51 +01: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
decimal_literal_representation.rs
decimal_literal_representation.stderr
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
def_id_nocore.stderr
default_lint.rs Remove unnecessary imports from tests 2020-02-11 06:20:47 -08:00
default_lint.stderr Remove unnecessary imports from tests 2020-02-11 06:20:47 -08:00
default_trait_access.rs
default_trait_access.stderr
deprecated_old.rs
deprecated_old.stderr
deprecated.rs
deprecated.stderr
deref_addrof_double_trigger.rs
deref_addrof_double_trigger.stderr
deref_addrof_macro.rs
deref_addrof.fixed
deref_addrof.rs
deref_addrof.stderr
derive_hash_xor_eq.rs
derive_hash_xor_eq.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
derive.rs
derive.stderr
diverging_sub_expression.rs
diverging_sub_expression.stderr
dlist.rs
dlist.stderr
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
doc_unsafe.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
doc.rs
doc.stderr
double_comparison.fixed
double_comparison.rs
double_comparison.stderr
double_must_use.rs
double_must_use.stderr
double_neg.rs
double_neg.stderr
double_parens.rs
double_parens.stderr
drop_bounds.rs
drop_bounds.stderr
drop_forget_copy.rs
drop_forget_copy.stderr
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
duplicate_underscore_argument.stderr
duration_subsec.fixed
duration_subsec.rs
duration_subsec.stderr
else_if_without_else.rs
else_if_without_else.stderr
empty_enum.rs
empty_enum.stderr improve empty_enum documentation 2020-01-24 14:37:16 +03:00
empty_line_after_outer_attribute.rs
empty_line_after_outer_attribute.stderr
empty_loop.rs
empty_loop.stderr
entry_fixable.fixed
entry_fixable.rs
entry_fixable.stderr
entry_unfixable.rs
entry_unfixable.stderr
enum_clike_unportable_variant.rs Revive test in enum_clike_unportable_variant 2020-01-30 11:43:19 +09:00
enum_clike_unportable_variant.stderr Revive test in enum_clike_unportable_variant 2020-01-30 11:43:19 +09: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
enum_variants.stderr
eq_op.rs Ignore macros with ! operators in eq_op 2020-01-22 16:48:00 +09:00
eq_op.stderr
erasing_op.rs
erasing_op.stderr
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
eta.rs
eta.stderr
eval_order_dependence.rs
eval_order_dependence.stderr
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
exit1.stderr
exit2.rs
exit2.stderr
exit3.rs
expect_fun_call.fixed
expect_fun_call.rs
expect_fun_call.stderr
expect.rs
expect.stderr Apply review comments 2020-01-26 07:01:16 +09:00
explicit_counter_loop.rs
explicit_counter_loop.stderr
explicit_write_non_rustfix.rs
explicit_write_non_rustfix.stderr
explicit_write.fixed
explicit_write.rs
explicit_write.stderr
extra_unused_lifetimes.rs
extra_unused_lifetimes.stderr
fallible_impl_from.rs
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
filter_map_next.stderr
filter_methods.rs
filter_methods.stderr Apply review comments 2020-01-26 07:01:16 +09:00
find_map.rs
find_map.stderr Apply review comments 2020-01-26 07:01:16 +09:00
float_cmp_const.rs
float_cmp_const.stderr
float_cmp.rs
float_cmp.stderr
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_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_32bit.rs
fn_to_numeric_cast_32bit.stderr
fn_to_numeric_cast.rs
fn_to_numeric_cast.stderr
for_kv_map.rs
for_kv_map.stderr
for_loop_fixable.fixed
for_loop_fixable.rs
for_loop_fixable.stderr
for_loop_over_option_result.rs
for_loop_over_option_result.stderr
for_loop_unfixable.rs
for_loop_unfixable.stderr
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
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_maxlines.rs
functions_maxlines.stderr
functions.rs
functions.stderr
get_last_with_len.fixed
get_last_with_len.rs
get_last_with_len.stderr
get_unwrap.fixed
get_unwrap.rs
get_unwrap.stderr update test stderr 2020-01-31 20:21:10 +01:00
identity_conversion.fixed
identity_conversion.rs
identity_conversion.stderr update test stderr 2020-01-31 20:21:10 +01:00
identity_op.rs
identity_op.stderr
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
if_not_else.stderr
if_same_then_else2.rs Split up if_same_then_else ui test 2020-01-19 15:04:41 +09:00
if_same_then_else2.stderr Split up if_same_then_else ui test 2020-01-19 15:04:41 +09:00
if_same_then_else.rs Split up if_same_then_else ui test 2020-01-19 15:04:41 +09:00
if_same_then_else.stderr Split up if_same_then_else ui test 2020-01-19 15:04:41 +09:00
ifs_same_cond.rs
ifs_same_cond.stderr
impl.rs
impl.stderr
implicit_hasher.rs
implicit_hasher.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
implicit_return.fixed
implicit_return.rs
implicit_return.stderr
inconsistent_digit_grouping.fixed
inconsistent_digit_grouping.rs
inconsistent_digit_grouping.stderr
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
inefficient_to_string.rs
inefficient_to_string.stderr update test stderr 2020-01-31 20:21:10 +01:00
infallible_destructuring_match.fixed
infallible_destructuring_match.rs
infallible_destructuring_match.stderr
infinite_iter.rs
infinite_iter.stderr update test stderr 2020-01-31 20:21:10 +01:00
infinite_loop.rs
infinite_loop.stderr
inherent_to_string.rs
inherent_to_string.stderr update test stderr 2020-01-31 20:21:10 +01:00
inline_fn_without_body.fixed
inline_fn_without_body.rs
inline_fn_without_body.stderr
int_plus_one.fixed
int_plus_one.rs
int_plus_one.stderr
integer_division.rs
integer_division.stderr
into_iter_on_ref.fixed
into_iter_on_ref.rs
into_iter_on_ref.stderr
invalid_upcast_comparisons.rs
invalid_upcast_comparisons.stderr
issue_2356.rs
issue_2356.stderr update test stderr 2020-01-31 20:21:10 +01:00
issue_4266.rs Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
issue_4266.stderr
issue-3145.rs
issue-3145.stderr
issue-3746.rs don't fire empty_loop in no_std crates 2020-01-24 14:42:24 +03:00
item_after_statement.rs
item_after_statement.stderr
iter_cloned_collect.fixed
iter_cloned_collect.rs
iter_cloned_collect.stderr
iter_nth_zero.fixed
iter_nth_zero.rs
iter_nth_zero.stderr
iter_nth.rs
iter_nth.stderr Apply review comments 2020-01-26 07:01:16 +09:00
iter_skip_next.rs
iter_skip_next.stderr Apply review comments 2020-01-26 07:01:16 +09:00
iterator_step_by_zero.rs
iterator_step_by_zero.stderr
large_digit_groups.fixed
large_digit_groups.rs
large_digit_groups.stderr
large_enum_variant.rs
large_enum_variant.stderr
large_stack_arrays.rs
large_stack_arrays.stderr
len_without_is_empty.rs
len_without_is_empty.stderr
len_zero.fixed
len_zero.rs
len_zero.stderr
let_if_seq.rs
let_if_seq.stderr
let_return.rs
let_return.stderr
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 decouple 'let_underscore' tests 2020-01-30 16:51:23 +03:00
let_underscore_must_use.stderr decouple 'let_underscore' tests 2020-01-30 16:51:23 +03:00
let_unit.fixed
let_unit.rs
let_unit.stderr
lint_without_lint_pass.rs Remove unnecessary imports from tests 2020-02-11 06:20:47 -08: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_memcpy.rs
manual_memcpy.stderr
manual_saturating_arithmetic.fixed
manual_saturating_arithmetic.rs
manual_saturating_arithmetic.stderr
many_single_char_names.rs
many_single_char_names.stderr
map_clone.fixed
map_clone.rs
map_clone.stderr
map_flatten.fixed
map_flatten.rs
map_flatten.stderr
map_unit_fn.rs
match_as_ref.fixed
match_as_ref.rs
match_as_ref.stderr
match_bool.rs
match_bool.stderr Update remaining test files 2020-02-06 19:15:01 +01: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_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_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_single_binding.fixed Fix match single binding when in a let stmt 2020-03-09 16:59:24 +01:00
match_single_binding.rs Fix match single binding when in a let stmt 2020-03-09 16:59:24 +01:00
match_single_binding.stderr Fix match single binding when in a let stmt 2020-03-09 16:59:24 +01: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_unfixable.rs
mem_discriminant_unfixable.stderr update test stderr 2020-01-31 20:21:10 +01:00
mem_discriminant.fixed
mem_discriminant.rs
mem_discriminant.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
mem_forget.rs
mem_forget.stderr
mem_replace_macro.rs
mem_replace_macro.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07: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
methods.rs Use edition:2018 flag more widely 2020-03-11 06:35:07 +09:00
methods.stderr
min_max.rs
min_max.stderr
missing_inline.rs
missing_inline.stderr
missing-doc-crate-missing.rs
missing-doc-crate-missing.stderr
missing-doc-crate.rs
missing-doc-crate.stderr
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
mistyped_literal_suffix.fixed
mistyped_literal_suffix.rs
mistyped_literal_suffix.stderr
module_inception.rs
module_inception.stderr
module_name_repetitions.rs
module_name_repetitions.stderr
modulo_arithmetic_float.rs
modulo_arithmetic_float.stderr
modulo_arithmetic_integral_const.rs
modulo_arithmetic_integral_const.stderr
modulo_arithmetic_integral.rs
modulo_arithmetic_integral.stderr
modulo_one.rs
modulo_one.stderr
must_use_candidates.fixed
must_use_candidates.rs
must_use_candidates.stderr
must_use_unit.fixed
must_use_unit.rs
must_use_unit.stderr
mut_from_ref.rs
mut_from_ref.stderr
mut_key.rs Avoid mut_key on types of unknown layout 2020-01-19 14:49:18 +01:00
mut_key.stderr Avoid mut_key on types of unknown layout 2020-01-19 14:49:18 +01:00
mut_mut.rs
mut_mut.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
mut_range_bound.rs
mut_range_bound.stderr
mut_reference.rs
mut_reference.stderr
mutex_atomic.rs
mutex_atomic.stderr
needless_borrow.fixed
needless_borrow.rs
needless_borrow.stderr
needless_borrowed_ref.fixed
needless_borrowed_ref.rs
needless_borrowed_ref.stderr
needless_collect.fixed
needless_collect.rs
needless_collect.stderr
needless_continue.rs
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
needless_lifetimes.stderr
needless_pass_by_value_proc_macro.rs
needless_pass_by_value.rs
needless_pass_by_value.stderr
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_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_return.fixed
needless_return.rs
needless_return.stderr
needless_update.rs
needless_update.stderr
neg_cmp_op_on_partial_ord.rs
neg_cmp_op_on_partial_ord.stderr
neg_multiply.rs
neg_multiply.stderr
never_loop.rs
never_loop.stderr
new_ret_no_self.rs
new_ret_no_self.stderr
new_without_default.rs
new_without_default.stderr
no_effect.rs
no_effect.stderr
non_expressive_names.rs
non_expressive_names.stderr
non_expressive_names.stdout
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
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
ok_expect.rs
ok_expect.stderr Apply review comments 2020-01-26 07:01:16 +09:00
op_ref.rs
op_ref.stderr
open_options.rs
open_options.stderr
option_and_then_some.fixed
option_and_then_some.rs
option_and_then_some.stderr update test stderr 2020-01-31 20:21:10 +01:00
option_as_ref_deref.fixed add option_as_ref_deref lint 2020-01-23 16:12:16 +03:00
option_as_ref_deref.rs add option_as_ref_deref lint 2020-01-23 16:12:16 +03:00
option_as_ref_deref.stderr add option_as_ref_deref lint 2020-01-23 16:12:16 +03: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
option_map_or_none.rs
option_map_or_none.stderr
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_unfixable.stderr
option_map_unwrap_or.rs
option_map_unwrap_or.stderr
option_option.rs
option_option.stderr
or_fun_call.fixed
or_fun_call.rs
or_fun_call.stderr
outer_expn_data.fixed Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
outer_expn_data.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
outer_expn_data.stderr update test stderr 2020-01-31 20:21:10 +01:00
overflow_check_conditional.rs
overflow_check_conditional.stderr
panic.rs
panic.stderr
panicking_macros.rs
panicking_macros.stderr
partialeq_ne_impl.rs
partialeq_ne_impl.stderr
path_buf_push_overwrite.fixed
path_buf_push_overwrite.rs
path_buf_push_overwrite.stderr
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
precedence.rs
precedence.stderr
print_literal.rs
print_literal.stderr
print_with_newline.rs
print_with_newline.stderr
print.rs
print.stderr Update stderr 2020-03-03 10:48:08 +01: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
proc_macro.stderr
ptr_arg.rs
ptr_arg.stderr
ptr_offset_with_cast.fixed
ptr_offset_with_cast.rs
ptr_offset_with_cast.stderr
question_mark.fixed run-rustfix 2020-03-04 17:37:01 +09:00
question_mark.rs run-rustfix 2020-03-04 17:37:01 +09:00
question_mark.stderr run-rustfix 2020-03-04 17:37:01 +09:00
range_plus_minus_one.fixed
range_plus_minus_one.rs
range_plus_minus_one.stderr
range.rs
range.stderr
redundant_clone.fixed Use visit_place 2020-03-13 02:06:47 +09:00
redundant_clone.rs Use visit_place 2020-03-13 02:06:47 +09:00
redundant_clone.stderr Check for mutation 2020-03-13 01:25:18 +09:00
redundant_closure_call_fixable.fixed
redundant_closure_call_fixable.rs
redundant_closure_call_fixable.stderr
redundant_closure_call.rs
redundant_closure_call.stderr
redundant_field_names.fixed
redundant_field_names.rs
redundant_field_names.stderr
redundant_pattern_matching.fixed
redundant_pattern_matching.rs
redundant_pattern_matching.stderr
redundant_static_lifetimes_multiple.rs
redundant_static_lifetimes_multiple.stderr
redundant_static_lifetimes.fixed
redundant_static_lifetimes.rs
redundant_static_lifetimes.stderr
regex.rs
regex.stderr
rename.fixed
rename.rs
rename.stderr
renamed_builtin_attr.fixed
renamed_builtin_attr.rs
renamed_builtin_attr.stderr
repl_uninit.rs
repl_uninit.stderr
replace_consts.fixed
replace_consts.rs
replace_consts.stderr update test stderr 2020-01-31 20:21:10 +01:00
rest_pat_in_fully_bound_structs.rs Add restrictive pat use in full binded struct 2020-03-04 09:11:07 +01:00
rest_pat_in_fully_bound_structs.stderr Add restrictive pat use in full binded struct 2020-03-04 09:11:07 +01:00
result_map_unit_fn_fixable.fixed
result_map_unit_fn_fixable.rs
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_unfixable.stderr
result_map_unwrap_or_else.rs
result_map_unwrap_or_else.stderr
same_functions_in_if_condition.rs
same_functions_in_if_condition.stderr
serde.rs
serde.stderr
shadow.rs
shadow.stderr
short_circuit_statement.fixed
short_circuit_statement.rs
short_circuit_statement.stderr
similar_names.rs
similar_names.stderr
single_char_pattern.fixed
single_char_pattern.rs
single_char_pattern.stderr
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_else.rs
single_match_else.stderr Update remaining test files 2020-02-06 19:15:01 +01:00
single_match.rs
single_match.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
slow_vector_initialization.stderr
starts_ends_with.fixed
starts_ends_with.rs
starts_ends_with.stderr
string_add_assign.fixed
string_add_assign.rs
string_add_assign.stderr
string_add.rs
string_add.stderr
string_extend.fixed
string_extend.rs
string_extend.stderr
string_lit_as_bytes.fixed
string_lit_as_bytes.rs
string_lit_as_bytes.stderr
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
suspicious_arithmetic_impl.stderr
suspicious_map.rs
suspicious_map.stderr Improve suspicious_mapdocumentation 2020-01-20 15:05:40 +09:00
suspicious_unary_op_formatting.rs
suspicious_unary_op_formatting.stderr
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
tabs_in_doc_comments.fixed
tabs_in_doc_comments.rs
tabs_in_doc_comments.stderr
temporary_assignment.rs
temporary_assignment.stderr
to_digit_is_some.fixed
to_digit_is_some.rs
to_digit_is_some.stderr
toplevel_ref_arg_non_rustfix.rs
toplevel_ref_arg_non_rustfix.stderr
toplevel_ref_arg.fixed
toplevel_ref_arg.rs
toplevel_ref_arg.stderr
trailing_zeros.rs
trailing_zeros.stderr
transmute_32bit.rs
transmute_32bit.stderr
transmute_64bit.rs
transmute_64bit.stderr
transmute_collection.rs
transmute_collection.stderr
transmute_float_to_int.rs
transmute_float_to_int.stderr
transmute_ptr_to_ptr.rs Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmute_ptr_to_ptr.stderr Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmute_ptr_to_ref.rs Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmute_ptr_to_ref.stderr Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmute.rs Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmute.stderr Split up transmute ui test 2020-01-20 11:16:50 +09:00
transmuting_null.rs
transmuting_null.stderr
trivially_copy_pass_by_ref.rs
trivially_copy_pass_by_ref.stderr
try_err.fixed
try_err.rs
try_err.stderr update test stderr 2020-01-31 20:21:10 +01:00
ty_fn_sig.rs
type_repetition_in_bounds.rs
type_repetition_in_bounds.stderr update test stderr 2020-01-31 20:21:10 +01:00
types.fixed
types.rs
types.stderr
unicode.rs
unicode.stderr
uninit.rs
uninit.stderr
unit_arg.fixed
unit_arg.rs
unit_arg.stderr
unit_cmp.rs
unit_cmp.stderr Rustup https://github.com/rust-lang/rust/pull/67359 2020-02-07 10:40:09 +07:00
unknown_attribute.rs
unknown_attribute.stderr
unknown_clippy_lints.fixed
unknown_clippy_lints.rs
unknown_clippy_lints.stderr
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
unnecessary_cast.rs
unnecessary_cast.stderr
unnecessary_clone.rs
unnecessary_clone.stderr
unnecessary_filter_map.rs
unnecessary_filter_map.stderr
unnecessary_flat_map.fixed
unnecessary_flat_map.rs
unnecessary_flat_map.stderr
unnecessary_fold.fixed
unnecessary_fold.rs
unnecessary_fold.stderr
unnecessary_operation.fixed
unnecessary_operation.rs
unnecessary_operation.stderr
unnecessary_ref.fixed
unnecessary_ref.rs
unnecessary_ref.stderr update test stderr 2020-01-31 20:21:10 +01:00
unneeded_field_pattern.rs
unneeded_field_pattern.stderr
unneeded_wildcard_pattern.fixed
unneeded_wildcard_pattern.rs
unneeded_wildcard_pattern.stderr update test stderr 2020-01-31 20:21:10 +01:00
unreadable_literal.fixed
unreadable_literal.rs
unreadable_literal.stderr
unsafe_removed_from_name.rs
unsafe_removed_from_name.stderr
unseparated_prefix_literals.fixed
unseparated_prefix_literals.rs
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 add excessive bools lints 2020-02-05 20:54:58 +03:00
unused_self.stderr
unused_unit.fixed
unused_unit.rs
unused_unit.stderr update test stderr 2020-01-31 20:21:10 +01:00
unwrap_or.rs
unwrap_or.stderr
unwrap.rs
unwrap.stderr Apply review comments 2020-01-26 07:01:16 +09:00
update-all-references.sh Update CARGO_TARGET_DIR 2020-02-07 14:41:04 +07:00
update-references.sh
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
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
used_underscore_binding.rs
used_underscore_binding.stderr
useful_asref.rs
useless_asref.fixed
useless_asref.rs
useless_asref.stderr update test stderr 2020-01-31 20:21:10 +01:00
useless_attribute.fixed Whitelist unused attribute for use items. 2020-03-02 10:22:05 +01:00
useless_attribute.rs Whitelist unused attribute for use items. 2020-03-02 10:22:05 +01:00
useless_attribute.stderr Whitelist unused attribute for use items. 2020-03-02 10:22:05 +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
vec.fixed
vec.rs
vec.stderr
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
while_let_loop.rs
while_let_loop.stderr
while_let_on_iterator.rs
while_let_on_iterator.stderr
wild_in_or_pats.rs
wild_in_or_pats.stderr
wildcard_enum_match_arm.fixed
wildcard_enum_match_arm.rs
wildcard_enum_match_arm.stderr update test stderr 2020-01-31 20:21:10 +01:00
wildcard_imports.fixed Fix suggestion for weird formattings 2020-02-21 11:14:19 +01:00
wildcard_imports.rs Fix suggestion for weird formattings 2020-02-21 11:14:19 +01:00
wildcard_imports.stderr Fix suggestion for weird formattings 2020-02-21 11:14:19 +01:00
write_literal.rs
write_literal.stderr
write_with_newline.rs
write_with_newline.stderr
writeln_empty_string.fixed
writeln_empty_string.rs
writeln_empty_string.stderr
wrong_self_convention.rs
wrong_self_convention.stderr
zero_div_zero.rs
zero_div_zero.stderr
zero_offset.rs
zero_offset.stderr
zero_ptr.fixed
zero_ptr.rs
zero_ptr.stderr