rust/tests/ui
2018-11-22 04:40:09 +01:00
..
author Swap order of methods in needless_range_loop suggestion in some cases 2018-10-14 20:14:16 -07:00
absurd-extreme-comparisons.rs
absurd-extreme-comparisons.stderr
approx_const.rs
approx_const.stderr
arithmetic.rs Disable arithmetic lints in constant items 2018-10-24 20:27:26 -07:00
arithmetic.stderr
assign_ops2.rs
assign_ops2.stderr
assign_ops.rs
assign_ops.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.rs
block_in_if_condition.stderr
bool_comparison.rs
bool_comparison.stderr
booleans.rs rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00
booleans.stderr
borrow_box.rs
borrow_box.stderr
box_vec.rs
box_vec.stderr
builtin-type-shadow.rs
builtin-type-shadow.stderr
bytecount.rs
bytecount.stderr
cast_alignment.rs
cast_alignment.stderr
cast_lossless_float.rs
cast_lossless_float.stderr
cast_lossless_integer.rs
cast_lossless_integer.stderr
cast_size.rs
cast_size.stderr
cast.rs
cast.stderr
cfg_attr_rustfmt.rs Rename test files 2018-11-02 19:50:24 +01:00
cfg_attr_rustfmt.stderr Update stderr 2018-11-02 19:50:24 +01:00
char_lit_as_u8.rs
char_lit_as_u8.stderr
checked_unwrap.rs
checked_unwrap.stderr
clone_on_copy_impl.rs
clone_on_copy_mut.rs Stabilize tool lints 2018-10-11 12:16:22 +02:00
cmp_nan.rs
cmp_nan.stderr
cmp_null.rs
cmp_null.stderr
cmp_owned.rs Merge pull request #3291 from JoshMcguigan/cmp_owned-3289 2018-10-12 15:07:12 +02:00
cmp_owned.stderr cmp_owned correct error message if rhs is deref 2018-10-12 04:34:41 -07:00
collapsible_if.rs rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00
collapsible_if.stderr Check for comments in collapsible ifs 2018-10-18 18:00:21 +02:00
complex_types.rs
complex_types.stderr
const_static_lifetime.rs
const_static_lifetime.stderr
copies.rs unused unit lint 2018-10-13 00:42:55 +02:00
copies.stderr
copy_iterator.rs
copy_iterator.stderr
cstring.rs
cstring.stderr
cyclomatic_complexity_attr_used.rs
cyclomatic_complexity_attr_used.stderr
cyclomatic_complexity.rs
cyclomatic_complexity.stderr
decimal_literal_representation.rs
decimal_literal_representation.stderr
default_trait_access.rs
default_trait_access.stderr
default_trait_access.stdout
deprecated.rs
deprecated.stderr
derive.rs
derive.stderr
diverging_sub_expression.rs
diverging_sub_expression.stderr
dlist.rs
dlist.stderr
doc.rs rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00
doc.stderr
double_comparison.rs
double_comparison.stderr
double_neg.rs
double_neg.stderr
double_parens.rs
double_parens.stderr
drop_forget_copy.rs
drop_forget_copy.stderr
drop_forget_ref.rs
drop_forget_ref.stderr
duplicate_underscore_argument.rs
duplicate_underscore_argument.stderr
duration_subsec.rs
duration_subsec.stderr
duration_subsec.stdout
else_if_without_else.rs
else_if_without_else.stderr
empty_enum.rs
empty_enum.stderr
empty_line_after_outer_attribute.rs
empty_line_after_outer_attribute.stderr
entry.rs
entry.stderr
enum_glob_use.rs
enum_glob_use.stderr
enum_variants.rs
enum_variants.stderr
enums_clike.rs
enums_clike.stderr
eq_op.rs
eq_op.stderr
erasing_op.rs
erasing_op.stderr
escape_analysis.rs Avoid linting boxed_local on trait implementations. 2018-10-15 20:34:45 +02:00
escape_analysis.stderr Avoid linting boxed_local on trait implementations. 2018-10-15 20:34:45 +02:00
eta.rs Remove now-useless allow(unknown_lints) 2018-10-11 12:18:27 +02:00
eta.stderr
eval_order_dependence.rs
eval_order_dependence.stderr
excessive_precision.rs
excessive_precision.stderr
expect_fun_call.rs UI test cleanup: Extract expect_fun_call tests 2018-11-02 07:18:56 +01:00
expect_fun_call.stderr UI test cleanup: Extract expect_fun_call tests 2018-11-02 07:18:56 +01:00
explicit_counter_loop.rs UI test cleanup: Extract explicit_counter_loop tests 2018-10-28 18:56:49 +01:00
explicit_counter_loop.stderr UI test cleanup: Extract explicit_counter_loop tests 2018-10-28 18:56:49 +01:00
explicit_write.rs
explicit_write.stderr
fallible_impl_from.rs
fallible_impl_from.stderr
filter_methods.rs
filter_methods.stderr
float_cmp_const.rs
float_cmp_const.stderr
float_cmp.rs
float_cmp.stderr
fn_to_numeric_cast.rs
fn_to_numeric_cast.stderr
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 UI test cleanup: Extract for_loop_over_x tests 2018-10-30 21:25:34 +01:00
for_loop.rs Added lints into_iter_on_ref and into_iter_on_array. Fix #1565. 2018-11-02 22:53:56 +08:00
for_loop.stderr UI test cleanup: Extract for_loop_over_x tests 2018-10-30 21:25:34 +01:00
for_loop.stdout Simplify manual_memcpy suggestion in some cases 2018-10-16 12:38:23 -07:00
format.rs
format.stderr
formatting.rs Fix possible_missing_comma false positives 2018-11-04 10:02:49 +02:00
formatting.stderr
functions.rs
functions.stderr
fxhash.rs
fxhash.stderr
get_unwrap.rs
get_unwrap.stderr
ice-2636.rs Add regression test 2018-11-15 17:06:36 +01:00
ice-2636.stderr Add regression test 2018-11-15 17:06:36 +01:00
identity_conversion.rs Don't expand macro in identity_conversion suggestion 2018-10-27 15:47:56 +02:00
identity_conversion.stderr Don't expand macro in identity_conversion suggestion 2018-10-27 15:47:56 +02:00
identity_op.rs
identity_op.stderr
if_not_else.rs
if_not_else.stderr
impl.rs
impl.stderr
implicit_hasher.rs
implicit_hasher.stderr
inconsistent_digit_grouping.rs
inconsistent_digit_grouping.stderr
indexing_slicing.rs OUT_OF_BOUNDS_INDEXING fix #3102 false negative 2018-10-13 13:51:53 -07:00
indexing_slicing.stderr update_references indexing_slicing 2018-10-26 01:16:14 +09:00
infallible_destructuring_match.rs
infallible_destructuring_match.stderr
infinite_iter.rs
infinite_iter.stderr
infinite_loop.rs
infinite_loop.stderr
inline_fn_without_body.rs
inline_fn_without_body.stderr
int_plus_one.rs
int_plus_one.stderr
into_iter_on_ref.rs Added lints into_iter_on_ref and into_iter_on_array. Fix #1565. 2018-11-02 22:53:56 +08:00
into_iter_on_ref.stderr Added lints into_iter_on_ref and into_iter_on_array. Fix #1565. 2018-11-02 22:53:56 +08:00
invalid_ref.rs
invalid_ref.stderr
invalid_upcast_comparisons.rs
invalid_upcast_comparisons.stderr
issue_2356.rs
issue_2356.stderr
issue-3145.rs
issue-3145.stderr
item_after_statement.rs
item_after_statement.stderr
large_digit_groups.rs
large_digit_groups.stderr
large_enum_variant.rs
large_enum_variant.stderr
len_zero.rs
len_zero.stderr Fix issue #3322: reword help message for len_zero 2018-10-16 23:23:31 +02:00
let_if_seq.rs
let_if_seq.stderr
let_return.rs
let_return.stderr
let_unit.rs
let_unit.stderr
lifetimes.rs
lifetimes.stderr
lint_without_lint_pass.rs Rewrite registered lint collection 2018-10-29 20:44:45 +01:00
lint_without_lint_pass.stderr Update .stderr file 2018-10-29 20:55:52 +01:00
literals.rs added float support for mistyped literal lints 2018-10-23 15:54:27 -06:00
literals.stderr added float support for mistyped literal lints 2018-10-23 15:54:27 -06:00
map_clone.rs
map_clone.stderr
map_flatten.rs
map_flatten.stderr
map_unit_fn.stderr
match_bool.rs
match_bool.stderr
match_overlapping_arm.rs UI test cleanup: Extract match_overlapping_arm tests 2018-11-02 07:19:30 +01:00
match_overlapping_arm.stderr UI test cleanup: Extract match_overlapping_arm tests 2018-11-02 07:19:30 +01:00
matches.rs UI test cleanup: Extract match_overlapping_arm tests 2018-11-02 07:19:30 +01:00
matches.stderr UI test cleanup: Extract match_overlapping_arm tests 2018-11-02 07:19:30 +01:00
mem_discriminant.rs Add tests for more than one level of reference 2018-10-24 23:39:55 -04:00
mem_discriminant.stderr Add tests for more than one level of reference 2018-10-24 23:39:55 -04:00
mem_forget.rs
mem_forget.stderr
mem_replace.rs
mem_replace.stderr
methods.rs UI test cleanup: Extract expect_fun_call tests 2018-11-02 07:18:56 +01:00
methods.stderr UI test cleanup: Extract expect_fun_call tests 2018-11-02 07:18:56 +01:00
min_max.rs
min_max.stderr
missing_inline.rs
missing_inline.stderr
missing-doc.rs
missing-doc.stderr
module_inception.rs rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00
module_inception.stderr
modulo_one.rs
modulo_one.stderr
mut_from_ref.rs
mut_from_ref.stderr
mut_mut.rs
mut_mut.stderr
mut_range_bound.rs
mut_range_bound.stderr
mut_reference.rs
mut_reference.stderr
mutex_atomic.rs
mutex_atomic.stderr
my_lint.rs unused unit lint 2018-10-13 00:42:55 +02:00
needless_bool.rs Fix #3335 rev1: bool_comparison triggers 3 times on same code 2018-10-28 16:28:17 +01:00
needless_bool.stderr Fix #3335: bool_comparison triggers 3 times on same code 2018-10-28 15:37:39 +01:00
needless_borrow.rs Fix a false-positive of needless_borrow 2018-11-02 15:58:54 +09:00
needless_borrow.stderr
needless_borrowed_ref.rs
needless_borrowed_ref.stderr
needless_collect.rs
needless_collect.stderr
needless_continue.rs
needless_continue.stderr
needless_pass_by_value_proc_macro.rs
needless_pass_by_value.rs Rename if_let_redundant_pattern_matching to redundant_pattern_matching 2018-10-17 11:20:42 +08:00
needless_pass_by_value.stderr
needless_range_loop.rs Check for known array length in needless_range_loop 2018-10-19 16:34:16 -04:00
needless_range_loop.stderr Check for known array length in needless_range_loop 2018-10-19 16:34:16 -04:00
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 added test cases 2018-10-24 06:43:21 -07:00
new_ret_no_self.stderr new_ret_no_self added test cases 2018-10-20 06:29:17 -07:00
new_without_default.rs Don't emit new_without_default_derive if an impl of Default exists 2018-10-23 20:44:31 -07:00
new_without_default.stderr
no_effect.rs UI test cleanup: Extract unnecessary_operation tests 2018-10-28 18:40:29 +01:00
no_effect.stderr UI test cleanup: Extract unnecessary_operation tests 2018-10-28 18:40:29 +01:00
non_copy_const.rs
non_copy_const.stderr
non_expressive_names.rs
non_expressive_names.stderr
ok_expect.rs
ok_expect.stderr
ok_if_let.rs
ok_if_let.stderr
op_ref.rs
op_ref.stderr
open_options.rs
open_options.stderr
option_map_unit_fn.rs
option_map_unit_fn.stderr
option_option.rs
option_option.stderr
overflow_check_conditional.rs
overflow_check_conditional.stderr
panic_unimplemented.rs
panic_unimplemented.stderr
partialeq_ne_impl.rs
partialeq_ne_impl.stderr
patterns.rs
patterns.stderr
precedence.rs
precedence.stderr
print_literal.rs
print_literal.stderr
print_with_newline.rs
print_with_newline.stderr
print.rs
print.stderr
println_empty_string.rs
println_empty_string.stderr
ptr_arg.rs
ptr_arg.stderr
ptr_offset_with_cast.rs
ptr_offset_with_cast.stderr
question_mark.rs
question_mark.stderr
range_plus_minus_one.rs
range_plus_minus_one.stderr
range.rs
range.stderr
redundant_clone.rs Use lint_root 2018-10-26 01:16:14 +09:00
redundant_clone.stderr Use lint_root 2018-10-26 01:16:14 +09:00
redundant_closure_call.rs Fix wrong suggestion for redundant_closure_call 2018-11-14 08:01:39 +02:00
redundant_closure_call.stderr
redundant_field_names.rs
redundant_field_names.stderr
redundant_pattern_matching.rs Rename if_let_redundant_pattern_matching to redundant_pattern_matching 2018-10-17 11:20:42 +08:00
redundant_pattern_matching.stderr Rename if_let_redundant_pattern_matching to redundant_pattern_matching 2018-10-17 11:20:42 +08:00
reference.rs
reference.stderr
regex.rs
regex.stderr
replace_consts.rs
replace_consts.stderr
result_map_unit_fn.rs
result_map_unit_fn.stderr
serde.rs
serde.stderr
shadow.rs
shadow.stderr
short_circuit_statement.rs
short_circuit_statement.stderr
single_char_pattern.rs rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00
single_char_pattern.stderr
single_match.rs Don't expand macro in single_match suggestion 2018-10-27 15:47:56 +02:00
single_match.stderr Don't expand macro in single_match suggestion 2018-10-27 15:47:56 +02:00
starts_ends_with.rs
starts_ends_with.stderr
string_extend.rs
string_extend.stderr
strings.rs fix: extra semicolon, only create callsite once 2018-10-26 09:12:01 -07:00
strings.stderr fix: correctly reconstruct raw strings 2018-10-26 09:12:01 -07:00
stutter.rs
stutter.stderr
suspicious_arithmetic_impl.rs
suspicious_arithmetic_impl.stderr
swap.rs
swap.stderr
temporary_assignment.rs
temporary_assignment.stderr
toplevel_ref_arg.rs
toplevel_ref_arg.stderr
trailing_zeros.rs
trailing_zeros.stderr
trailing_zeros.stdout
transmute_32bit.rs
transmute_64bit.rs
transmute_64bit.stderr
transmute.rs
transmute.stderr
trivially_copy_pass_by_ref.rs Update trivially_copy_pass_by_ref with Trait examples 2018-11-21 07:52:02 -06:00
trivially_copy_pass_by_ref.stderr Update trivially_copy_pass_by_ref with Trait stderr output 2018-11-21 07:52:02 -06:00
ty_fn_sig.rs
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
types.stderr
unicode.rs
unicode.stderr
unit_arg.rs
unit_arg.stderr
unit_cmp.rs
unit_cmp.stderr
unknown_clippy_lints.rs Add copyright statement© 2018-11-02 13:49:10 +01:00
unknown_clippy_lints.stderr Update stderr 2018-11-02 13:49:10 +01:00
unnecessary_clone.rs
unnecessary_clone.stderr
unnecessary_filter_map.rs
unnecessary_filter_map.stderr
unnecessary_fold.rs
unnecessary_fold.stderr
unnecessary_operation.rs UI test cleanup: Extract unnecessary_operation tests 2018-10-28 18:40:29 +01:00
unnecessary_operation.stderr UI test cleanup: Extract unnecessary_operation tests 2018-10-28 18:40:29 +01:00
unnecessary_ref.rs
unnecessary_ref.stderr
unneeded_field_pattern.rs
unneeded_field_pattern.stderr
unreadable_literal.rs
unreadable_literal.stderr
unsafe_removed_from_name.rs
unsafe_removed_from_name.stderr
unused_io_amount.rs
unused_io_amount.stderr
unused_labels.rs
unused_labels.stderr
unused_lt.rs
unused_lt.stderr
unused_unit.rs unused unit lint 2018-10-13 00:42:55 +02:00
unused_unit.stderr unused unit lint 2018-10-13 00:42:55 +02:00
unwrap_or.rs
unwrap_or.stderr
unwrap_or.stdout
update-all-references.sh
update-references.sh
use_self.rs Fix use_self false positive on use statements 2018-11-13 06:15:33 +02:00
use_self.stderr Check existential types in use_self 2018-10-24 23:32:33 -04:00
used_underscore_binding.rs
used_underscore_binding.stderr
useless_asref.rs
useless_asref.stderr
useless_attribute.rs
useless_attribute.stderr
vec.rs
vec.stderr
while_loop.rs
while_loop.stderr
write_literal.rs
write_literal.stderr
write_with_newline.rs
write_with_newline.stderr
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_ptr.rs
zero_ptr.stderr