rust-clippy/tests/ui
Guillem Nieto 8494f57c82 Fix author lint
The author lint was generating invalid code as shown on issue:
https://github.com/rust-lang-nursery/rust-clippy/issues/2442

I've changed the generated code to properly track cast
expressions.

Unfortunatelly, I've had to rewrite the `visit_decl` method, to
avoid that last if of the chain will be added. After looking at the code,
this last line was being added because of the `let x: char` part, but not
because of the `0x45df as char` expression.

It seems that let statements should not generate code on the author
lint, but I'm not sure that this is true or if I'm breaking
something on other code generation parts.

Finally, I've added a test for the author lint, but I'm not sure that
this needs to be added to the testsuite.
2018-02-24 02:19:47 +01:00
..
absurd-extreme-comparisons.rs Fix #1159: avoid comparing fixed and target sized types in lint 2018-01-12 18:33:25 +01:00
absurd-extreme-comparisons.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
approx_const.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
approx_const.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
arithmetic.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
arithmetic.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
array_indexing.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
array_indexing.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
assign_ops.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
assign_ops.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
assign_ops2.rs Additionally suggest the semantic equal variant 2018-01-30 17:45:35 +01:00
assign_ops2.stderr Additionally suggest the semantic equal variant 2018-01-30 17:45:35 +01:00
attrs.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
attrs.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
author.rs Fix author lint 2018-02-24 02:19:47 +01:00
author.stdout Fix author lint 2018-02-24 02:19:47 +01:00
bit_masks.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
bit_masks.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
blacklisted_name.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
blacklisted_name.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
block_in_if_condition.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
block_in_if_condition.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
bool_comparison.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
bool_comparison.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
booleans.rs More tests. 2017-11-19 11:29:25 +00:00
booleans.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
borrow_box.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
borrow_box.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
box_vec.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
box_vec.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
builtin-type-shadow.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
builtin-type-shadow.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
bytecount.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
bytecount.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
cast.rs Split up casting UI tests 2018-01-06 11:22:20 +01:00
cast.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
cast_lossless_float.rs Split up casting UI tests 2018-01-06 11:22:20 +01:00
cast_lossless_float.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
cast_lossless_integer.rs Split up casting UI tests 2018-01-06 11:22:20 +01:00
cast_lossless_integer.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
cast_size.rs Split up casting UI tests 2018-01-06 11:22:20 +01:00
cast_size.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
char_lit_as_u8.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
char_lit_as_u8.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
clone_on_copy_impl.rs Don't suggest changing explicit Clone impls if they have generics 2018-01-11 10:28:42 +01:00
clone_on_copy_mut.rs Fix #1925 2017-11-30 10:55:06 +01:00
cmp_nan.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
cmp_nan.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
cmp_null.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
cmp_null.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
cmp_owned.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
cmp_owned.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
collapsible_if.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
collapsible_if.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
complex_types.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
complex_types.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
conf_bad_arg.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
conf_bad_arg.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
conf_bad_toml.rs Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
conf_bad_toml.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
conf_bad_toml.toml Merge system independent ui-tests back into tests/ui 2017-02-21 12:19:55 +01:00
conf_bad_type.rs Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
conf_bad_type.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
conf_bad_type.toml Merge system independent ui-tests back into tests/ui 2017-02-21 12:19:55 +01:00
conf_french_blacklisted_name.rs Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
conf_french_blacklisted_name.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
conf_path_non_string.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
conf_path_non_string.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
conf_unknown_key.rs Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
conf_unknown_key.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
const_static_lifetime.rs Fix const_static_lifetime 2018-02-02 02:03:21 -05:00
const_static_lifetime.stderr don't suggest eliding 'static on associated consts 2018-02-06 12:22:34 -06:00
copies.rs Fixes #2426 (if_same_then_else false positive) 2018-02-09 15:31:55 +01:00
copies.stderr Fixes #2426 (if_same_then_else false positive) 2018-02-09 15:31:55 +01:00
cstring.rs move cstring tests 2017-10-09 23:39:45 -05:00
cstring.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
cyclomatic_complexity.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
cyclomatic_complexity.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
cyclomatic_complexity_attr_used.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
cyclomatic_complexity_attr_used.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
decimal_literal_representation.rs Make decimal_literal_representation a restriction lint 2018-02-06 13:05:20 +01:00
decimal_literal_representation.stderr Make decimal_literal_representation a restriction lint 2018-02-06 13:05:20 +01:00
deprecated.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
deprecated.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
derive.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
derive.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
diverging_sub_expression.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
diverging_sub_expression.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
dlist.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
dlist.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
doc.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
doc.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
double_comparison.rs Add double comparions lint 2018-01-30 10:35:35 +09:00
double_comparison.stderr Add double comparions lint 2018-01-30 10:35:35 +09:00
double_neg.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
double_neg.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
double_parens.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
double_parens.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
drop_forget_copy.rs Apply requested changes 2018-01-23 15:29:31 +01:00
drop_forget_copy.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
drop_forget_ref.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
drop_forget_ref.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
duplicate_underscore_argument.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
duplicate_underscore_argument.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
else_if_without_else.rs add new lint else_if_without_else 2018-01-14 22:53:00 -06:00
else_if_without_else.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
empty_enum.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
empty_enum.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
empty_line_after_outer_attribute.rs Lint multiline attributes properly 2018-02-21 21:29:05 +01:00
empty_line_after_outer_attribute.stderr Make lint work on all members of ast::Item_ 2018-01-29 10:03:52 +01:00
entry.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
entry.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
enum_glob_use.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
enum_glob_use.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
enum_variants.rs Don't lint accidental "prefixes" on enum variants 2017-10-10 12:37:59 +02:00
enum_variants.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
enums_clike.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
enums_clike.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
eq_op.rs Create failing test for equal inside macro 2017-12-22 10:37:44 -08:00
eq_op.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
erasing_op.rs Add erasing_op lint 2017-10-14 12:34:37 +03:00
erasing_op.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
escape_analysis.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
escape_analysis.stderr Move all our tests back to ui tests 2017-08-01 17:54:21 +02:00
eta.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
eta.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
eval_order_dependence.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
eval_order_dependence.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
explicit_write.rs Change lint filename 2017-10-14 21:42:14 -03:00
explicit_write.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
fallible_impl_from.rs Fix #2188 2017-11-29 17:20:00 +01:00
fallible_impl_from.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
filter_methods.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
filter_methods.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
float_cmp.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
float_cmp.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
float_cmp_const.rs put back negative tests but allow float_cmp 2017-11-06 21:34:30 +11:00
float_cmp_const.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
for_loop.rs Enable more patterns in the author lint 2018-01-24 13:04:06 +01:00
for_loop.stderr Update spans 2018-01-29 09:48:11 +05:30
for_loop.stdout Enable more patterns in the author lint 2018-01-24 13:04:06 +01:00
format.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
format.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
formatting.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
formatting.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
functions.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
functions.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
get_unwrap.rs move get_unwrap tests 2017-10-10 00:14:47 -05:00
get_unwrap.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
identity_conversion.rs Test if #[allow] works 2017-10-04 22:26:41 +09:00
identity_conversion.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
identity_op.rs Apply requested changes 2018-01-23 15:29:31 +01:00
identity_op.stderr Apply requested changes 2018-01-23 15:29:31 +01:00
if_let_redundant_pattern_matching.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
if_let_redundant_pattern_matching.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
if_not_else.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
if_not_else.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
implicit_hasher.rs Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
implicit_hasher.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
inconsistent_digit_grouping.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
inconsistent_digit_grouping.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
infinite_iter.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
infinite_iter.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
inline_fn_without_body.rs Make lint work on all members of ast::Item_ 2018-01-29 10:03:52 +01:00
inline_fn_without_body.stderr Make lint work on all members of ast::Item_ 2018-01-29 10:03:52 +01:00
int_plus_one.rs Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
int_plus_one.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
invalid_ref.rs Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
invalid_ref.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
invalid_upcast_comparisons.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
invalid_upcast_comparisons.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
issue_2356.rs Fix get_enclosing_block 2018-02-02 01:53:48 -05:00
issue_2356.stderr Fix get_enclosing_block 2018-02-02 01:53:48 -05:00
item_after_statement.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
item_after_statement.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
large_digit_groups.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
large_digit_groups.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
large_enum_variant.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
large_enum_variant.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
len_zero.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
len_zero.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
let_if_seq.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
let_if_seq.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
let_return.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
let_return.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
let_unit.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
let_unit.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
lifetimes.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
lifetimes.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
lint_pass.rs Fix lint_without_lint_pass 2017-10-31 10:04:02 -07:00
lint_pass.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
literals.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
literals.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
map_clone.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
map_clone.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
matches.rs Also suggest as_mut for match_as_ref 2017-12-20 10:39:48 +01:00
matches.stderr Removing extra newline 2018-02-04 13:55:37 +01:00
mem_forget.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
mem_forget.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
methods.rs Fix unnecessary_fold bug 2018-01-22 05:34:42 +00:00
methods.stderr Stop unwanted newlines being applied on unwrap_or 2018-02-21 11:29:08 -05:00
min_max.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
min_max.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
missing-doc.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
missing-doc.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
module_inception.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
module_inception.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
modulo_one.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
modulo_one.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
mut_from_ref.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
mut_from_ref.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
mut_mut.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
mut_mut.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
mut_range_bound.rs Apply changes that were required for running in the rustc test suite 2017-11-14 14:56:00 +01:00
mut_range_bound.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
mut_reference.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
mut_reference.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
mutex_atomic.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
mutex_atomic.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
needless_bool.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
needless_bool.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
needless_borrow.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
needless_borrow.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
needless_borrowed_ref.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
needless_borrowed_ref.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
needless_continue.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
needless_continue.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
needless_pass_by_value.rs Merge branch 'master' into option_option_pr 2018-01-19 07:56:46 +02:00
needless_pass_by_value.stderr Only suggest implementing Copy if it can actually be done 2018-01-18 14:27:47 +01:00
needless_pass_by_value_proc_macro.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
needless_range_loop.rs Don't lint mixed slice indexing and usize indexing in needless_range_loop 2017-11-07 15:32:52 +01:00
needless_range_loop.stderr Update spans 2018-01-29 09:48:11 +05:30
needless_return.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
needless_return.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
needless_update.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
needless_update.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
neg_multiply.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
neg_multiply.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
never_loop.rs Refactor the never-loop detection, fixes #1991. 2017-11-05 14:43:28 +00:00
never_loop.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
new_without_default.rs Fix #2196 2017-11-29 17:06:27 +01:00
new_without_default.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
no_effect.rs Implement redundant field names lint #2244 2018-02-10 22:52:31 +01:00
no_effect.stderr Implement redundant field names lint #2244 2018-02-10 22:52:31 +01:00
non_expressive_names.rs Fix non_expressive_names 2018-02-02 01:54:07 -05:00
non_expressive_names.stderr Fix non_expressive_names 2018-02-02 01:54:07 -05:00
ok_expect.rs move ok_expect tests 2017-10-10 00:03:39 -05:00
ok_expect.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
ok_if_let.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
ok_if_let.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
op_ref.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
op_ref.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
open_options.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
open_options.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
option_option.rs Added further tests 2018-01-19 08:10:09 +02:00
option_option.stderr Added further tests 2018-01-19 08:10:09 +02:00
overflow_check_conditional.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
overflow_check_conditional.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
panic.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
panic.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
partialeq_ne_impl.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
partialeq_ne_impl.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
patterns.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
patterns.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
precedence.rs Add macro check to precedence lint 2018-01-16 15:52:16 +01:00
precedence.stderr Merge pull request #2364 from flip1995/precedence 2018-01-19 12:07:00 +01:00
print.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
print.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
print_with_newline.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
print_with_newline.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
println_empty_string.rs Add PRINTLN_EMPTY_STRING lint. 2017-10-20 16:45:32 +02:00
println_empty_string.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
ptr_arg.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
ptr_arg.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
question_mark.rs Add question mark operator 2018-01-31 00:10:35 +01:00
question_mark.stderr Update UI tests 2018-01-31 00:10:35 +01:00
range.rs Fix panic with fake Range type 2017-10-13 21:51:57 +09:00
range.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
range_plus_minus_one.rs Add tests for range_plus_one and range_minus_one 2017-10-08 14:15:37 +02:00
range_plus_minus_one.stderr Update spans 2018-01-29 09:48:11 +05:30
redundant_closure_call.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
redundant_closure_call.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
redundant_field_names.rs Suggestion fixed, simplified lint logic. 2018-02-12 11:26:00 +01:00
redundant_field_names.stderr Suggestion fixed, simplified lint logic. 2018-02-12 11:26:00 +01:00
reference.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
reference.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
regex.rs let invalid_regex point to the right place for raw strings 2018-01-23 16:52:14 +01:00
regex.stderr let invalid_regex point to the right place for raw strings 2018-01-23 16:52:14 +01:00
replace_consts.rs Add lint to replace consts with const fns 2018-01-11 12:03:46 -05:00
replace_consts.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
serde.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
serde.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
shadow.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
shadow.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
short_circuit_statement.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
short_circuit_statement.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
single_char_pattern.rs move single_char_pattern tests 2017-10-09 23:37:46 -05:00
single_char_pattern.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
starts_ends_with.rs move starts_ends_with tests 2017-10-09 23:36:29 -05:00
starts_ends_with.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
string_extend.rs move string_extend tests 2017-10-09 23:57:17 -05:00
string_extend.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
strings.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
strings.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
stutter.rs Update ui tests 2017-11-26 18:57:34 +01:00
stutter.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
suspicious_arithmetic_impl.rs Lint for suspicious implementations of arithmetic std::ops traits 2018-02-13 15:40:17 +01:00
suspicious_arithmetic_impl.stderr Lint for suspicious implementations of arithmetic std::ops traits 2018-02-13 15:40:17 +01:00
swap.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
swap.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
temporary_assignment.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
temporary_assignment.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
toplevel_ref_arg.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
toplevel_ref_arg.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
trailing_zeros.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
trailing_zeros.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
trailing_zeros.stdout manual fixups if_let_chain -> if_chain 2017-10-23 17:53:30 -04:00
transmute.rs Add misaligned_transmute lint 2018-01-25 00:48:36 -08:00
transmute.stderr Add misaligned_transmute lint 2018-01-25 00:48:36 -08:00
transmute_32bit.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
transmute_64bit.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
transmute_64bit.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
ty_fn_sig.rs Add regression test (fixes #2234) 2017-11-29 16:05:13 +01:00
types.rs Start regression tests for types.rs 2017-12-23 10:15:11 -08:00
types.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unicode.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
unicode.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unit_arg.rs Replace is_unit_expr 2018-01-18 17:04:26 -05:00
unit_arg.stderr Replace is_unit_expr 2018-01-18 17:04:26 -05:00
unit_cmp.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
unit_cmp.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unnecessary_clone.rs Moves clone_on_ref_ptr to be a restriction lint 2018-01-14 19:58:09 -08:00
unnecessary_clone.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unneeded_field_pattern.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
unneeded_field_pattern.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unreadable_literal.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
unreadable_literal.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unsafe_removed_from_name.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
unsafe_removed_from_name.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unused_io_amount.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
unused_io_amount.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unused_labels.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
unused_labels.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unused_lt.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
unused_lt.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
unwrap_or.rs Add newlines in unwrap_or ui test 2018-02-20 12:37:30 -05:00
unwrap_or.stderr Stop unwanted newlines being applied on unwrap_or 2018-02-21 11:29:08 -05: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 Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
use_self.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
used_underscore_binding.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
used_underscore_binding.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
useless_asref.rs Add tests for generic code 2017-10-21 13:55:12 -04:00
useless_asref.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
useless_attribute.rs Partly fix incorrect useless_attribute suggestion 2018-02-06 22:35:11 +01:00
useless_attribute.stderr Partly fix incorrect useless_attribute suggestion 2018-02-06 22:35:11 +01:00
vec.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
vec.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
while_loop.rs #1121: already fixed, adding a test 2018-01-29 16:52:22 +01:00
while_loop.stderr Update spans 2018-01-29 09:48:11 +05:30
wrong_self_convention.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
wrong_self_convention.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
zero_div_zero.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
zero_div_zero.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00
zero_ptr.rs Reduce the hackiness of cargo-clippy 2017-10-03 12:07:24 +02:00
zero_ptr.stderr Update changed ui tests 2018-01-17 14:44:40 +01:00