rust/clippy_tests/examples
Oliver Schneider 1788f7bcde Merge pull request #1847 from Manishearth/nested_while_let
don't lint while_let_on_iterator on nested loops
2017-07-04 16:05:24 +02:00
..
absurd-extreme-comparisons.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
absurd-extreme-comparisons.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
approx_const.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
approx_const.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
arithmetic.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
arithmetic.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
array_indexing.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
array_indexing.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
assign_ops2.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
assign_ops2.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
assign_ops.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
assign_ops.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
attrs.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
attrs.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
bit_masks.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
bit_masks.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
blacklisted_name.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
blacklisted_name.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
block_in_if_condition.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
block_in_if_condition.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
bool_comparison.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
bool_comparison.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
booleans.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
booleans.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
borrow_box.rs Test for trait method decl/impl for borrowed box. 2017-06-12 08:44:08 -04:00
borrow_box.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
box_vec.rs Test for local types in LINKEDLIST and BOX_VEC 2017-06-11 12:30:48 -04:00
box_vec.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
cast.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
cast.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
char_lit_as_u8.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
char_lit_as_u8.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
cmp_nan.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
cmp_nan.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
cmp_null.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
cmp_null.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
cmp_owned.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
cmp_owned.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
collapsible_if.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
collapsible_if.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
complex_types.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
complex_types.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
copies.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
copies.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
cyclomatic_complexity_attr_used.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
cyclomatic_complexity_attr_used.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
cyclomatic_complexity.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
cyclomatic_complexity.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
derive.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
derive.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
diverging_sub_expression.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
diverging_sub_expression.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
dlist.rs rustup to rustc 1.19.0-nightly (258ae6dd9 2017-06-15) 2017-06-16 11:57:44 +08:00
dlist.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
doc.rs Ignore mix of {,non-}sugared doc in doc_markdown 2017-06-17 18:24:23 +02:00
doc.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
double_neg.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
double_neg.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
double_parens.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
double_parens.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
drop_forget_copy.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
drop_forget_copy.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
drop_forget_ref.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
drop_forget_ref.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
duplicate_underscore_argument.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
duplicate_underscore_argument.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
empty_enum.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
empty_enum.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
entry.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
entry.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
enum_glob_use.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
enum_glob_use.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
enum_variants.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
enum_variants.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
enums_clike.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
enums_clike.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
eq_op.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
eq_op.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
escape_analysis.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
escape_analysis.stderr Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
eta.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
eta.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
eval_order_dependence.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
eval_order_dependence.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
filter_methods.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
filter_methods.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
float_cmp.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
float_cmp.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
for_loop.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
for_loop.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
format.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
format.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
formatting.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
formatting.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
functions.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
functions.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
identity_op.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
identity_op.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
if_let_redundant_pattern_matching.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
if_let_redundant_pattern_matching.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
if_not_else.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
if_not_else.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
invalid_upcast_comparisons.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
invalid_upcast_comparisons.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
item_after_statement.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
item_after_statement.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
large_enum_variant.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
large_enum_variant.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
len_zero.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
len_zero.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
let_if_seq.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
let_if_seq.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
let_return.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
let_return.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
let_unit.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
let_unit.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
lifetimes.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
lifetimes.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
lint_pass.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
lint_pass.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
literals.rs deal with multiple prefixed zeros in literals 2017-06-12 20:41:00 +02:00
literals.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
map_clone.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
map_clone.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
matches.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
matches.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
mem_forget.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
mem_forget.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
methods.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
methods.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
min_max.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
min_max.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
missing-doc.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
missing-doc.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
module_inception.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
module_inception.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
modulo_one.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
modulo_one.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
mut_from_ref.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
mut_from_ref.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
mut_mut.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
mut_mut.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
mut_reference.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
mut_reference.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
mutex_atomic.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
mutex_atomic.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
needless_bool.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
needless_bool.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
needless_borrow.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
needless_borrow.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
needless_continue.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
needless_continue.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
needless_pass_by_value.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
needless_pass_by_value.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
needless_return.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
needless_return.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
needless_update.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
needless_update.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
neg_multiply.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
neg_multiply.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
never_loop.rs add tests and fixes 2017-06-01 00:06:45 -05:00
never_loop.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
new_without_default.rs Ignore new-without-default lint when new method has generic types 2017-06-14 12:58:22 -04:00
new_without_default.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
no_effect.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
no_effect.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
non_expressive_names.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
non_expressive_names.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
ok_if_let.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
ok_if_let.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
op_ref.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
op_ref.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
open_options.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
open_options.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
overflow_check_conditional.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
overflow_check_conditional.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
panic.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
panic.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
partialeq_ne_impl.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
partialeq_ne_impl.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
patterns.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
patterns.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
precedence.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
precedence.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
print_with_newline.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
print_with_newline.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
print.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
print.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
ptr_arg.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
ptr_arg.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
range.rs Replace Range::step_by checking with Iterator::step_by 2017-06-18 16:12:04 +02:00
range.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
redundant_closure_call.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
redundant_closure_call.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
reference.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
reference.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
regex.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
regex.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
serde.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
serde.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
shadow.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
shadow.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
short_circuit_statement.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
short_circuit_statement.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
should_assert_eq.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
should_assert_eq.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
strings.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
strings.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
stutter.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
stutter.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
swap.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
swap.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
temporary_assignment.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
temporary_assignment.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
toplevel_ref_arg.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
toplevel_ref_arg.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
unicode.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
unicode.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
unit_cmp.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
unit_cmp.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
unneeded_field_pattern.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
unneeded_field_pattern.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
unsafe_removed_from_name.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
unsafe_removed_from_name.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
unused_io_amount.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
unused_io_amount.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
unused_labels.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
unused_labels.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
unused_lt.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
unused_lt.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
used_underscore_binding.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
used_underscore_binding.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
useless_attribute.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
useless_attribute.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
vec.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
vec.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
while_loop.rs fix tests 2017-06-30 02:43:52 +02:00
while_loop.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
wrong_macro_span.rs_ Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
wrong_self_convention.rs Check for AsRef/AsMut arguments in wrong_self_convention 2017-06-06 19:26:50 +02:00
wrong_self_convention.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
zero_div_zero.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
zero_div_zero.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00
zero_ptr.rs Make most tests an example so we can run them one by one 2017-05-17 14:19:44 +02:00
zero_ptr.stderr Update ui tests for examples 2017-07-03 12:37:30 +08:00