rust-clippy/tests/ui
bors 6f3912850a Auto merge of #3590 - jorpic:i3559-if_same_then_else, r=phansch
Fix if_same_then_else false positive

This fixes false positive in #3559.
The problem was that `SpanlessEq` does not check patterns in declarations. So this two blocks considered equal.
```rust
if true {
    let (x, y) = foo();
} else {
   let (y, x) = foo();
}
```
Not sure if the proposed change is safe as `SpanlessEq` is used extensively in other lints, but I tried hard to come up with counterexample and failed.
2018-12-31 09:25:18 +00:00
..
author Update *.stderr files 2018-12-28 12:41:12 +01:00
absurd-extreme-comparisons.rs rustfmt tests 2018-12-09 23:26:16 +01:00
absurd-extreme-comparisons.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
approx_const.rs rustfmt tests 2018-12-09 23:26:16 +01:00
approx_const.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
arithmetic.rs rustfmt tests 2018-12-09 23:26:16 +01:00
arithmetic.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
assign_ops.rs rustfmt tests 2018-12-09 23:26:16 +01:00
assign_ops.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
assign_ops2.rs rustfmt tests 2018-12-09 23:26:16 +01:00
assign_ops2.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
attrs.rs rustfmt tests 2018-12-09 23:26:16 +01:00
attrs.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
author.rs rustfmt tests 2018-12-09 23:26:16 +01:00
author.stdout DeclKind 2018-07-16 11:48:33 +02:00
bit_masks.rs rustfmt tests 2018-12-09 23:26:16 +01:00
bit_masks.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
blacklisted_name.rs rustfmt tests 2018-12-09 23:26:16 +01:00
blacklisted_name.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
block_in_if_condition.rs rustfmt tests 2018-12-09 23:26:16 +01:00
block_in_if_condition.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
bool_comparison.rs Implements lint for order comparisons against bool 2018-12-16 21:43:32 -03:00
bool_comparison.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
booleans.rs rustfmt tests 2018-12-09 23:26:16 +01:00
booleans.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
borrow_box.rs rustfmt tests 2018-12-09 23:26:16 +01:00
borrow_box.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
box_vec.rs rustfmt tests 2018-12-09 23:26:16 +01:00
box_vec.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
builtin-type-shadow.rs fix breakage from rust-lang/rust#57088 2018-12-25 16:11:28 -05:00
builtin-type-shadow.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
bytecount.rs rustfmt tests 2018-12-09 23:26:16 +01:00
bytecount.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cast.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
cast.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cast_alignment.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
cast_alignment.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cast_lossless_float.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cast_lossless_float.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cast_lossless_integer.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cast_lossless_integer.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cast_size.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cast_size.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cfg_attr_rustfmt.rs Rename test files 2018-11-02 19:50:24 +01:00
cfg_attr_rustfmt.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
char_lit_as_u8.rs rustfmt tests 2018-12-09 23:26:16 +01:00
char_lit_as_u8.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
checked_unwrap.rs rustfmt tests 2018-12-09 23:26:16 +01:00
checked_unwrap.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
clone_on_copy_impl.rs rustfmt tests 2018-12-09 23:26:16 +01:00
clone_on_copy_mut.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cmp_nan.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cmp_nan.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cmp_null.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cmp_null.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cmp_owned.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cmp_owned.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
collapsible_if.rs rustfmt tests 2018-12-09 23:26:16 +01:00
collapsible_if.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
complex_types.rs rustfmt tests 2018-12-09 23:26:16 +01:00
complex_types.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
const_static_lifetime.rs rustfmt tests 2018-12-09 23:26:16 +01:00
const_static_lifetime.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
copies.rs Check pattern equality while checking declaration equality 2018-12-30 14:01:56 +03:00
copies.stderr Check pattern equality while checking declaration equality 2018-12-30 14:01:56 +03:00
copy_iterator.rs rustfmt tests 2018-12-09 23:26:16 +01:00
copy_iterator.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cstring.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cstring.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cyclomatic_complexity.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cyclomatic_complexity.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cyclomatic_complexity_attr_used.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cyclomatic_complexity_attr_used.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
decimal_literal_representation.rs test reformatting: revert more questionable changes done by rustfmt and add #[rustfmt::skip] 2018-12-11 20:50:55 +01:00
decimal_literal_representation.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
default_trait_access.rs rustfmt tests 2018-12-09 23:26:16 +01:00
default_trait_access.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
default_trait_access.stdout Add default_trait_access lint 2018-06-14 09:11:46 +01:00
deprecated.rs rustfmt tests 2018-12-09 23:26:16 +01:00
deprecated.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
derive.rs rustfmt tests 2018-12-09 23:26:16 +01:00
derive.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
diverging_sub_expression.rs rustfmt tests 2018-12-09 23:26:16 +01:00
diverging_sub_expression.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
dlist.rs rustfmt tests 2018-12-09 23:26:16 +01:00
dlist.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
doc.rs Fix doc_markdown mixed case false positive 2018-12-12 19:25:27 +01:00
doc.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
double_comparison.rs rustfmt tests 2018-12-09 23:26:16 +01:00
double_comparison.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
double_neg.rs rustfmt tests 2018-12-09 23:26:16 +01:00
double_neg.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
double_parens.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
double_parens.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
drop_forget_copy.rs rustfmt tests 2018-12-09 23:26:16 +01:00
drop_forget_copy.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
drop_forget_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
drop_forget_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
duplicate_underscore_argument.rs rustfmt tests 2018-12-09 23:26:16 +01:00
duplicate_underscore_argument.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
duration_subsec.rs rustfmt tests 2018-12-09 23:26:16 +01:00
duration_subsec.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
duration_subsec.stdout Add duration_subsec lint 2018-06-09 10:21:26 +02:00
else_if_without_else.rs rustfmt tests 2018-12-09 23:26:16 +01:00
else_if_without_else.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
empty_enum.rs rustfmt tests 2018-12-09 23:26:16 +01:00
empty_enum.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
empty_line_after_outer_attribute.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
empty_line_after_outer_attribute.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
entry.rs rustfmt tests 2018-12-09 23:26:16 +01:00
entry.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
enum_glob_use.rs rustfmt tests 2018-12-09 23:26:16 +01:00
enum_glob_use.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
enum_variants.rs fix breakage from rust-lang/rust#57088 2018-12-25 16:11:28 -05:00
enum_variants.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
enums_clike.rs rustfmt tests 2018-12-09 23:26:16 +01:00
enums_clike.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
eq_op.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
eq_op.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
erasing_op.rs rustfmt tests 2018-12-09 23:26:16 +01:00
erasing_op.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
escape_analysis.rs rustfmt tests 2018-12-09 23:26:16 +01:00
escape_analysis.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
eta.rs rustfmt tests 2018-12-09 23:26:16 +01:00
eta.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
eval_order_dependence.rs rustfmt tests 2018-12-09 23:26:16 +01:00
eval_order_dependence.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
excessive_precision.rs rustfmt tests 2018-12-09 23:26:16 +01:00
excessive_precision.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
expect_fun_call.rs rustfmt tests 2018-12-09 23:26:16 +01:00
expect_fun_call.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
explicit_counter_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
explicit_counter_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
explicit_write.rs Add suggestion for explicit_write lint 2018-12-12 07:31:01 +01:00
explicit_write.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
fallible_impl_from.rs rustfmt tests 2018-12-09 23:26:16 +01:00
fallible_impl_from.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
filter_methods.rs rustfmt tests 2018-12-09 23:26:16 +01:00
filter_methods.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
float_cmp.rs rustfmt tests 2018-12-09 23:26:16 +01:00
float_cmp.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
float_cmp_const.rs rustfmt tests 2018-12-09 23:26:16 +01:00
float_cmp_const.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
fn_to_numeric_cast.rs rustfmt tests 2018-12-09 23:26:16 +01:00
fn_to_numeric_cast.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
for_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
for_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
for_loop.stdout Simplify manual_memcpy suggestion in some cases 2018-10-16 12:38:23 -07:00
for_loop_over_option_result.rs UI test cleanup: Extract for_loop_over_x tests 2018-10-30 21:25:34 +01:00
for_loop_over_option_result.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
format.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
format.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
formatting.rs Teach suspicious_else_formatting about if .. {..} {..} 2018-12-20 22:45:37 -05:00
formatting.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
functions.rs rustfmt tests 2018-12-09 23:26:16 +01:00
functions.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
fxhash.rs rustfmt tests 2018-12-09 23:26:16 +01:00
fxhash.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
get_unwrap.rs rustfmt tests 2018-12-09 23:26:16 +01:00
get_unwrap.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ice-2636.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ice-2636.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
identity_conversion.rs rustfmt tests 2018-12-09 23:26:16 +01:00
identity_conversion.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
identity_op.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
identity_op.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
if_not_else.rs rustfmt tests 2018-12-09 23:26:16 +01:00
if_not_else.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
impl.rs rustfmt tests 2018-12-09 23:26:16 +01:00
impl.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
implicit_hasher.rs test reformatting: revert more questionable changes done by rustfmt and add #[rustfmt::skip] 2018-12-11 20:50:55 +01:00
implicit_hasher.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
implicit_return.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
implicit_return.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
inconsistent_digit_grouping.rs rustfmt tests 2018-12-09 23:26:16 +01:00
inconsistent_digit_grouping.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
indexing_slicing.rs rustfmt tests 2018-12-09 23:26:16 +01:00
indexing_slicing.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
infallible_destructuring_match.rs rustfmt tests 2018-12-09 23:26:16 +01:00
infallible_destructuring_match.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
infinite_iter.rs rustfmt tests 2018-12-09 23:26:16 +01:00
infinite_iter.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
infinite_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
infinite_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
inline_fn_without_body.rs rustfmt tests 2018-12-09 23:26:16 +01:00
inline_fn_without_body.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
int_plus_one.rs rustfmt tests 2018-12-09 23:26:16 +01:00
int_plus_one.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
into_iter_on_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
into_iter_on_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
invalid_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
invalid_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
invalid_upcast_comparisons.rs rustfmt tests 2018-12-09 23:26:16 +01:00
invalid_upcast_comparisons.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
issue-3145.rs rustfmt tests 2018-12-09 23:26:16 +01:00
issue-3145.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
issue_2356.rs rustfmt tests 2018-12-09 23:26:16 +01:00
issue_2356.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
item_after_statement.rs rustfmt tests 2018-12-09 23:26:16 +01:00
item_after_statement.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
iter_skip_next.rs UI test cleanup: Extract iter_skip_next from methods.rs 2018-12-30 13:46:21 +01:00
iter_skip_next.stderr UI test cleanup: Extract iter_skip_next from methods.rs 2018-12-30 13:46:21 +01:00
large_digit_groups.rs rustfmt tests 2018-12-09 23:26:16 +01:00
large_digit_groups.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
large_enum_variant.rs rustfmt tests 2018-12-09 23:26:16 +01:00
large_enum_variant.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
len_zero.rs rustfmt tests 2018-12-09 23:26:16 +01:00
len_zero.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
let_if_seq.rs rustfmt tests 2018-12-09 23:26:16 +01:00
let_if_seq.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
let_return.rs rustfmt tests 2018-12-09 23:26:16 +01:00
let_return.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
let_unit.rs rustfmt tests 2018-12-09 23:26:16 +01:00
let_unit.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
lifetimes.rs rustfmt tests 2018-12-09 23:26:16 +01:00
lifetimes.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
lint_without_lint_pass.rs rustfmt tests 2018-12-09 23:26:16 +01:00
lint_without_lint_pass.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
literals.rs Keep testing large_digit_groups as ui test 2018-12-01 17:23:53 -08:00
literals.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
map_clone.rs rustfmt tests 2018-12-09 23:26:16 +01:00
map_clone.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
map_flatten.rs rustfmt tests 2018-12-09 23:26:16 +01:00
map_flatten.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
map_unit_fn.rs test: panic at map_unit_fn.rs:202 for map() without args 2018-12-22 01:06:02 -05:00
match_bool.rs rustfmt tests 2018-12-09 23:26:16 +01:00
match_bool.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
match_overlapping_arm.rs rustfmt tests 2018-12-09 23:26:16 +01:00
match_overlapping_arm.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
matches.rs rustfmt tests 2018-12-09 23:26:16 +01:00
matches.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mem_discriminant.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mem_discriminant.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mem_forget.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mem_forget.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mem_replace.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mem_replace.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
methods.rs UI test cleanup: Extract iter_skip_next from methods.rs 2018-12-30 13:46:21 +01:00
methods.stderr UI test cleanup: Extract iter_skip_next from methods.rs 2018-12-30 13:46:21 +01:00
min_max.rs rustfmt tests 2018-12-09 23:26:16 +01:00
min_max.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
missing-doc.rs rustfmt tests 2018-12-09 23:26:16 +01:00
missing-doc.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
missing_inline.rs rustfmt tests 2018-12-09 23:26:16 +01:00
missing_inline.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
module_inception.rs rustfmt tests 2018-12-09 23:26:16 +01:00
module_inception.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
module_name_repetitions.rs Rename lint to MODULE_NAME_REPETITIONS 2018-12-17 14:29:19 +01:00
module_name_repetitions.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
modulo_one.rs rustfmt tests 2018-12-09 23:26:16 +01:00
modulo_one.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mut_from_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mut_from_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mut_mut.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mut_mut.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mut_range_bound.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mut_range_bound.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mut_reference.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mut_reference.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mutex_atomic.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mutex_atomic.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
my_lint.rs unused unit lint 2018-10-13 00:42:55 +02:00
needless_bool.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_bool.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_borrow.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_borrow.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_borrowed_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_borrowed_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_collect.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_collect.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_continue.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_continue.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_pass_by_value.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_pass_by_value.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_pass_by_value_proc_macro.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_range_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_range_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_return.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_return.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_update.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_update.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
neg_cmp_op_on_partial_ord.rs rustfmt tests 2018-12-09 23:26:16 +01:00
neg_cmp_op_on_partial_ord.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
neg_multiply.rs rustfmt tests 2018-12-09 23:26:16 +01:00
neg_multiply.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
never_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
never_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
new_ret_no_self.rs rustfmt tests 2018-12-09 23:26:16 +01:00
new_ret_no_self.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
new_without_default.rs Merge new_without_default_derive into new_without_default 2018-12-28 10:57:58 -07:00
new_without_default.stderr Merge new_without_default_derive into new_without_default 2018-12-28 10:57:58 -07:00
no_effect.rs Support array indexing expressions in unused write to a constant 2018-12-29 15:34:15 +01:00
no_effect.stderr Support array indexing expressions in unused write to a constant 2018-12-29 15:34:15 +01:00
non_copy_const.rs rustfmt tests 2018-12-09 23:26:16 +01:00
non_copy_const.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
non_expressive_names.rs rustfmt tests 2018-12-09 23:26:16 +01:00
non_expressive_names.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ok_expect.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ok_expect.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ok_if_let.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ok_if_let.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
op_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
op_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
open_options.rs rustfmt tests 2018-12-09 23:26:16 +01:00
open_options.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
option_map_unit_fn.rs tests: fix more cases where rustfmt would have hurt the tests 2018-12-11 01:31:04 +01:00
option_map_unit_fn.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
option_option.rs rustfmt tests 2018-12-09 23:26:16 +01:00
option_option.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
overflow_check_conditional.rs rustfmt tests 2018-12-09 23:26:16 +01:00
overflow_check_conditional.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
panic_unimplemented.rs rustfmt tests 2018-12-09 23:26:16 +01:00
panic_unimplemented.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
partialeq_ne_impl.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
partialeq_ne_impl.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
patterns.rs rustfmt tests 2018-12-09 23:26:16 +01:00
patterns.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
precedence.rs rustfmt tests 2018-12-09 23:26:16 +01:00
precedence.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
print.rs rustfmt tests 2018-12-09 23:26:16 +01:00
print.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
print_literal.rs rustfmt tests 2018-12-09 23:26:16 +01:00
print_literal.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
print_with_newline.rs rustfmt tests 2018-12-09 23:26:16 +01:00
print_with_newline.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
println_empty_string.rs rustfmt tests 2018-12-09 23:26:16 +01:00
println_empty_string.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ptr_arg.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ptr_arg.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ptr_offset_with_cast.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ptr_offset_with_cast.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
question_mark.rs Fix formatting 2018-12-28 20:52:46 +01:00
question_mark.stderr Merge remote-tracking branch 'upstream/master' 2018-12-28 20:19:51 +01:00
range.rs rustfmt tests 2018-12-09 23:26:16 +01:00
range.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
range_plus_minus_one.rs rustfmt tests 2018-12-09 23:26:16 +01:00
range_plus_minus_one.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
redundant_clone.rs Merge branch 'master' into rustfmt_tests 2018-12-11 01:42:38 +01:00
redundant_clone.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
redundant_closure_call.rs rustfmt tests 2018-12-09 23:26:16 +01:00
redundant_closure_call.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
redundant_field_names.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
redundant_field_names.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
redundant_pattern_matching.rs rustfmt tests 2018-12-09 23:26:16 +01:00
redundant_pattern_matching.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
reference.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
reference.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
regex.rs rustfmt tests 2018-12-09 23:26:16 +01:00
regex.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
rename.rs Merge new_without_default_derive into new_without_default 2018-12-28 10:57:58 -07:00
rename.stderr Merge new_without_default_derive into new_without_default 2018-12-28 10:57:58 -07:00
replace_consts.rs rustfmt tests 2018-12-09 23:26:16 +01:00
replace_consts.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
result_map_unit_fn.rs tests: fix more cases where rustfmt would have hurt the tests 2018-12-11 01:31:04 +01:00
result_map_unit_fn.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
serde.rs rustfmt tests 2018-12-09 23:26:16 +01:00
serde.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
shadow.rs rustfmt tests 2018-12-09 23:26:16 +01:00
shadow.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
short_circuit_statement.rs rustfmt tests 2018-12-09 23:26:16 +01:00
short_circuit_statement.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
single_char_pattern.rs rustup rust-lang/rust#52994 2018-12-14 12:35:44 +01:00
single_char_pattern.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
single_match.rs rustfmt tests 2018-12-09 23:26:16 +01:00
single_match.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
single_match_else.rs rustfmt tests 2018-12-09 23:26:16 +01:00
single_match_else.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
slow_vector_initialization.rs rustfmt tests 2018-12-09 23:26:16 +01:00
slow_vector_initialization.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
slow_vector_initialization.stdout Add slow zero-filled vector initialization lint 2018-11-25 14:34:23 -08:00
starts_ends_with.rs rustfmt tests 2018-12-09 23:26:16 +01:00
starts_ends_with.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
string_extend.rs rustfmt tests 2018-12-09 23:26:16 +01:00
string_extend.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
strings.rs rustfmt tests 2018-12-09 23:26:16 +01:00
strings.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
suspicious_arithmetic_impl.rs rustfmt tests 2018-12-09 23:26:16 +01:00
suspicious_arithmetic_impl.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
swap.rs test reformatting: revert more questionable changes done by rustfmt and add #[rustfmt::skip] 2018-12-11 20:50:55 +01:00
swap.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
temporary_assignment.rs rustfmt tests 2018-12-09 23:26:16 +01:00
temporary_assignment.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
toplevel_ref_arg.rs rustfmt tests 2018-12-09 23:26:16 +01:00
toplevel_ref_arg.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
trailing_zeros.rs rustfmt tests 2018-12-09 23:26:16 +01:00
trailing_zeros.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
trailing_zeros.stdout BinOpKind 2018-07-16 11:46:37 +02:00
transmute.rs rustfmt tests 2018-12-09 23:26:16 +01:00
transmute.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
transmute_32bit.rs rustfmt tests 2018-12-09 23:26:16 +01:00
transmute_64bit.rs rustfmt tests 2018-12-09 23:26:16 +01:00
transmute_64bit.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
trivially_copy_pass_by_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
trivially_copy_pass_by_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ty_fn_sig.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ty_fn_sig.stderr Swap order of methods in needless_range_loop suggestion in some cases 2018-10-14 20:14:16 -07:00
types.rs rustfmt tests 2018-12-09 23:26:16 +01:00
types.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unicode.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unicode.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unit_arg.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unit_arg.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unit_cmp.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unit_cmp.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unknown_clippy_lints.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unknown_clippy_lints.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_clone.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_clone.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_filter_map.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_filter_map.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_fold.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_fold.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_operation.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_operation.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unneeded_field_pattern.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unneeded_field_pattern.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unreadable_literal.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unreadable_literal.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unsafe_removed_from_name.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unsafe_removed_from_name.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unused_io_amount.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
unused_io_amount.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unused_labels.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unused_labels.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unused_lt.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unused_lt.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unused_unit.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
unused_unit.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unwrap_or.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unwrap_or.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unwrap_or.stdout Fix: point to correct problem part of code 2018-02-19 12:14:53 -05:00
update-all-references.sh tests: fixup arg handling for update-all-references 2017-11-18 16:11:55 +01:00
update-references.sh rustup and compile-fail -> ui test move 2017-02-07 21:05:30 +01:00
use_self.rs Remove false negatives from known problems 2018-12-30 08:23:39 +01:00
use_self.stderr Update test output after rebase 2018-12-30 08:23:39 +01:00
used_underscore_binding.rs rustfmt tests 2018-12-09 23:26:16 +01:00
used_underscore_binding.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
useful_asref.rs Do not mark as_ref as useless if it's followed by a method call 2018-12-17 21:33:50 +01:00
useless_asref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
useless_asref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
useless_attribute.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
useless_attribute.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
vec.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
vec.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
vec_box_sized.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
vec_box_sized.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
while_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
while_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
write_literal.rs rustfmt tests 2018-12-09 23:26:16 +01:00
write_literal.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
write_with_newline.rs Merge branch 'master' into fix-3514 2018-12-14 07:16:26 +02:00
write_with_newline.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
writeln_empty_string.rs rustfmt tests 2018-12-09 23:26:16 +01:00
writeln_empty_string.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
wrong_self_convention.rs rustfmt tests 2018-12-09 23:26:16 +01:00
wrong_self_convention.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
zero_div_zero.rs rustfmt tests 2018-12-09 23:26:16 +01:00
zero_div_zero.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
zero_ptr.rs rustfmt tests 2018-12-09 23:26:16 +01:00
zero_ptr.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00