rust/tests/ui
Philipp Hansch 9a0b598b73
Split up cmp_owned tests, add run-rustfix
Some of the cmp_owned tests emitted non-machine-applicable suggestions,
so I moved them to `tests/ui/cmp_owned/without_suggestion.rs` and added
`// run-rustfix` to the other half.

cc #3630
2019-08-24 10:38:45 +02:00
..
author Rustup to rust-lang/rust#62984 2019-08-15 10:14:06 +02:00
auxiliary Fix bug in implicit_hasher causing crashes 2019-07-11 08:47:05 +02:00
checked_unwrap Update formatting 2019-08-01 07:09:57 +02:00
cmp_owned Split up cmp_owned tests, add run-rustfix 2019-08-24 10:38:45 +02:00
crashes Rustup to https://github.com/rust-lang/rust/pull/60965 2019-05-23 20:19:00 +02:00
crate_level_checks Ignore no_std-test on windows and macos 2019-08-05 17:53:55 +02:00
missing_const_for_fn Fix missing_const_for_fn for impl trait methods 2019-03-05 08:11:55 +01:00
needless_bool Add run-rustfix for needless_bool lint 2019-08-05 22:10:56 +02:00
out_of_bounds_indexing rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
absurd-extreme-comparisons.rs
absurd-extreme-comparisons.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
approx_const.rs
approx_const.stderr
arithmetic.rs
arithmetic.stderr
assertions_on_constants.rs Add test for debug_assert!(false) 2019-04-18 11:48:19 +02:00
assertions_on_constants.stderr Update *.stderr file 2019-04-18 12:05:09 +02:00
assign_ops2.rs
assign_ops2.stderr
assign_ops.rs
assign_ops.stderr
attrs.rs
attrs.stderr
author.rs
author.stdout fix missing a semicolon 2019-03-07 23:26:47 +09:00
bit_masks.rs
bit_masks.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
blacklisted_name.rs
blacklisted_name.stderr
block_in_if_condition.rs Addressed points raised in review. 2019-03-10 18:06:28 +00:00
block_in_if_condition.stderr Update tests 2019-03-10 22:07:10 +01:00
bool_comparison.fixed Add run-rustfix for bool_comparison lint 2019-04-16 20:42:54 +02:00
bool_comparison.rs Add run-rustfix for bool_comparison lint 2019-04-16 20:42:54 +02:00
bool_comparison.stderr Add run-rustfix for bool_comparison lint 2019-04-16 20:42:54 +02:00
booleans.rs
booleans.stderr
borrow_box.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
borrow_box.stderr
box_vec.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
box_vec.stderr
builtin-type-shadow.rs
builtin-type-shadow.stderr
bytecount.rs
bytecount.stderr
cast_alignment.rs Improve cast_ptr_alignment lint 2019-07-09 17:02:26 +02:00
cast_alignment.stderr Improve cast_ptr_alignment lint 2019-07-09 17:02:26 +02:00
cast_lossless_float.fixed Move two cast_lossless tests to their correct files 2019-04-18 06:54:32 +02:00
cast_lossless_float.rs Move two cast_lossless tests to their correct files 2019-04-18 06:54:32 +02:00
cast_lossless_float.stderr Change "if types change" to "if you later change the type" 2019-04-23 16:53:09 -07:00
cast_lossless_integer.fixed Move two cast_lossless tests to their correct files 2019-04-18 06:54:32 +02:00
cast_lossless_integer.rs Move two cast_lossless tests to their correct files 2019-04-18 06:54:32 +02:00
cast_lossless_integer.stderr Change "if types change" to "if you later change the type" 2019-04-23 16:53:09 -07:00
cast_ref_to_mut.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
cast_ref_to_mut.stderr
cast_size.rs casting integer literal to float is unnecessary 2019-03-14 15:53:08 +08:00
cast_size.stderr casting integer literal to float is unnecessary 2019-03-14 15:53:08 +08:00
cast.rs Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
cast.stderr Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
cfg_attr_rustfmt.fixed
cfg_attr_rustfmt.rs
cfg_attr_rustfmt.stderr
char_lit_as_u8.rs
char_lit_as_u8.stderr
checked_conversions.fixed Added suggestion for conversion with is_ok. 2019-05-18 09:33:26 +02:00
checked_conversions.rs Added suggestion for conversion with is_ok. 2019-05-18 09:33:26 +02:00
checked_conversions.stderr Added suggestion for conversion with is_ok. 2019-05-18 09:33:26 +02:00
checked_conversions.stdout Added lint for TryFrom for checked integer conversion rust-lang#3947. 2019-05-18 09:33:25 +02:00
clone_on_copy_impl.rs
clone_on_copy_mut.rs
cmp_nan.rs
cmp_nan.stderr
cmp_null.rs
cmp_null.stderr
cognitive_complexity_attr_used.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
cognitive_complexity_attr_used.stderr Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
cognitive_complexity.rs Rustup to rust-lang/rust#62672 2019-08-15 10:14:06 +02:00
cognitive_complexity.stderr Rustup to rust-lang/rust#62672 2019-08-15 10:14:06 +02:00
collapsible_if.fixed Account for let_chains in collapsible_if ui test cases. 2019-06-23 17:24:45 +02:00
collapsible_if.rs Account for let_chains in collapsible_if ui test cases. 2019-06-23 17:24:45 +02:00
collapsible_if.stderr
complex_types.rs Fix ICE in vec_box lint and add run-rustfix 2019-02-01 18:18:45 +01:00
complex_types.stderr
copy_iterator.rs
copy_iterator.stderr
cstring.rs Fix temporary_cstring_as_ptr false negative 2019-08-21 07:35:04 +02:00
cstring.stderr Fix temporary_cstring_as_ptr false negative 2019-08-21 07:35:04 +02:00
dbg_macro.rs add more test cases for dbg_macro rule 2019-02-02 04:54:51 +09:00
dbg_macro.stderr use snippet for making a suggestion if possible 2019-02-03 18:28:42 +09:00
decimal_literal_representation.fixed Add run-rustfix for decimal_literal_representation lint 2019-08-04 10:21:52 +02:00
decimal_literal_representation.rs Add run-rustfix for decimal_literal_representation lint 2019-08-04 10:21:52 +02:00
decimal_literal_representation.stderr Add run-rustfix for decimal_literal_representation lint 2019-08-04 10:21:52 +02:00
default_trait_access.rs
default_trait_access.stderr
default_trait_access.stdout
deprecated_old.rs Deprecate unused_collect lint 2019-08-14 21:47:11 +02:00
deprecated_old.stderr Deprecate unused_collect lint 2019-08-14 21:47:11 +02:00
deprecated.rs Add deprecation tests for deprecated tool lints 2019-08-12 19:42:23 +02:00
deprecated.stderr Deprecate unused_collect lint 2019-08-14 21:47:11 +02:00
deref_addrof_double_trigger.rs Add run-rustfix for deref_addrof lint 2019-04-16 20:32:54 +02:00
deref_addrof_double_trigger.stderr Add run-rustfix for deref_addrof lint 2019-04-16 20:32:54 +02:00
deref_addrof.fixed Add run-rustfix for deref_addrof lint 2019-04-16 20:32:54 +02:00
deref_addrof.rs Add run-rustfix for deref_addrof lint 2019-04-16 20:32:54 +02:00
deref_addrof.stderr Add run-rustfix for deref_addrof lint 2019-04-16 20:32:54 +02:00
derive.rs
derive.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
diverging_sub_expression.rs
diverging_sub_expression.stderr
dlist.rs Fix tests for edition 2018 compatibility 2019-07-23 03:59:09 +08:00
dlist.stderr Fix tests for edition 2018 compatibility 2019-07-23 03:59:09 +08:00
doc.rs Update pulldown-cmark to 0.5.3 2019-07-19 07:29:25 +02:00
doc.stderr Update tests 2019-03-10 22:07:10 +01:00
double_comparison.fixed
double_comparison.rs
double_comparison.stderr
double_neg.rs
double_neg.stderr
double_parens.rs Add rustfmt::skip to double_parens tests 2019-02-28 08:02:45 +02:00
double_parens.stderr Add rustfmt::skip to double_parens tests 2019-02-28 08:02:45 +02:00
drop_bounds.rs Fix formatting 2019-02-18 19:36:58 -07:00
drop_bounds.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
drop_forget_copy.rs
drop_forget_copy.stderr
drop_forget_ref.rs Update formatting 2019-08-01 07:09:57 +02:00
drop_forget_ref.stderr
duplicate_underscore_argument.rs
duplicate_underscore_argument.stderr
duration_subsec.fixed
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 Add rustfmt::skip to outer attr format tests 2019-02-27 07:41:07 +02:00
empty_line_after_outer_attribute.stderr Add rustfmt::skip to outer attr format tests 2019-02-27 07:41:07 +02:00
empty_loop.rs Add tests for empty_loop lint 2019-05-12 13:07:58 +02:00
empty_loop.stderr Add tests for empty_loop lint 2019-05-12 13:07:58 +02:00
entry.rs
entry.stderr
enum_glob_use.rs
enum_glob_use.stderr
enum_variants.rs Don't emit enum_variant_names if remainder starts with a numeric 2019-08-06 20:45:36 +02:00
enum_variants.stderr
enums_clike.rs
enums_clike.stderr
eq_op.rs
eq_op.stderr
erasing_op.rs
erasing_op.stderr
escape_analysis.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
escape_analysis.stderr Fix boxed_local suggestion 2019-02-21 06:59:10 +02:00
eta.fixed redundant_closure_for_method_calls fixes: 2019-06-12 13:43:36 +02:00
eta.rs redundant_closure_for_method_calls fixes: 2019-06-12 13:43:36 +02:00
eta.stderr Fixing eta with respect to lazy evaluation. 2019-06-10 13:58:40 +03:00
eval_order_dependence.rs
eval_order_dependence.stderr
excessive_precision.fixed
excessive_precision.rs
excessive_precision.stderr
expect_fun_call.fixed Ensure expect_fun_call bad suggestion is fixed 2019-03-06 07:00:05 +02:00
expect_fun_call.rs Ensure expect_fun_call bad suggestion is fixed 2019-03-06 07:00:05 +02:00
expect_fun_call.stderr Ensure expect_fun_call bad suggestion is fixed 2019-03-06 07:00:05 +02:00
explicit_counter_loop.rs Change explicit_counter_loop's message to add parentheses if necessary 2019-03-23 15:36:48 +09:00
explicit_counter_loop.stderr use span_lint_and_sugg in explicit_counter_loop 2019-03-28 08:51:57 +09:00
explicit_write.fixed
explicit_write.rs
explicit_write.stderr
extra_unused_lifetimes.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
extra_unused_lifetimes.stderr Lifetimes UI test cleanup 2019-05-20 19:19:49 +02:00
fallible_impl_from.rs
fallible_impl_from.stderr
filter_map_next.rs Add lints for find_map 2019-04-30 16:45:28 -03:00
filter_map_next.stderr Add lints for find_map 2019-04-30 16:45:28 -03:00
filter_methods.rs
filter_methods.stderr
find_map.rs Add lints for find_map 2019-04-30 16:45:28 -03:00
find_map.stderr Add lints for find_map 2019-04-30 16:45:28 -03:00
float_cmp_const.rs casting integer literal to float is unnecessary 2019-03-14 15:53:08 +08:00
float_cmp_const.stderr fix suggestion for floating points inequality 2019-06-17 16:42:43 +02:00
float_cmp.rs Updated tests. 2019-07-27 22:53:26 +01:00
float_cmp.stderr Updated tests. 2019-07-27 22:53:26 +01:00
fn_to_numeric_cast.rs
fn_to_numeric_cast.stderr
for_kv_map.rs
for_kv_map.stderr
for_loop_over_option_result.rs
for_loop_over_option_result.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
for_loop.rs Deprecate unused_collect lint 2019-08-14 21:47:11 +02:00
for_loop.stderr Deprecate unused_collect lint 2019-08-14 21:47:11 +02:00
for_loop.stdout
format.fixed fix format does not parse escaped braces error 2019-04-13 01:39:10 +09:00
format.rs fix format does not parse escaped braces error 2019-04-13 01:39:10 +09:00
format.stderr fix format does not parse escaped braces error 2019-04-13 01:39:10 +09:00
formatting.rs Add [rustfmt::skip] to formatting lint tests 2019-02-26 07:49:46 +02:00
formatting.stderr Add [rustfmt::skip] to formatting lint tests 2019-02-26 07:49:46 +02:00
functions_maxlines.rs Updating to just warn for one test. 2019-02-01 13:21:19 -05:00
functions_maxlines.stderr Fix test broken by removing comment. 2019-02-01 13:21:19 -05:00
functions.rs remove function body from "too many args" span 2019-05-02 10:36:59 -04:00
functions.stderr remove function body from "too many args" span 2019-05-02 10:36:59 -04:00
get_last_with_len.fixed Implement get_last_with_len lint 2019-05-20 18:01:21 -06:00
get_last_with_len.rs Implement get_last_with_len lint 2019-05-20 18:01:21 -06:00
get_last_with_len.stderr Implement get_last_with_len lint 2019-05-20 18:01:21 -06:00
get_unwrap.fixed Move get_unwrap to restriction 2019-03-09 13:48:06 -08:00
get_unwrap.rs Move get_unwrap to restriction 2019-03-09 13:48:06 -08:00
get_unwrap.stderr Move get_unwrap to restriction 2019-03-09 13:48:06 -08:00
ice-360.rs Split while_loop.rs tests 2019-05-08 09:24:24 +02:00
ice-360.stderr Split while_loop.rs tests 2019-05-08 09:24:24 +02:00
ice-2636.rs
ice-2636.stderr
ice-3717.rs Add test for ICE #3717 fix 2019-02-17 01:50:31 +01:00
ice-3717.stderr Add test for ICE #3717 fix 2019-02-17 01:50:31 +01:00
ice-4121.rs Test for melted ICE #4121 2019-07-01 15:53:48 +02:00
identity_conversion.rs Add regression test for identity_conversion FP 2019-05-12 21:32:29 +02:00
identity_conversion.stderr Add regression test for identity_conversion FP 2019-05-12 21:32:29 +02:00
identity_op.rs
identity_op.stderr
if_not_else.rs
if_not_else.stderr
if_same_then_else.rs Rustup to rust-lang/rust#62672 2019-08-15 10:14:06 +02:00
if_same_then_else.stderr Rustup to rust-lang/rust#62672 2019-08-15 10:14:06 +02:00
ifs_same_cond.rs
ifs_same_cond.stderr
impl.rs
impl.stderr
implicit_hasher.rs Fix bug in implicit_hasher causing crashes 2019-07-11 08:47:05 +02:00
implicit_hasher.stderr Fix bug in implicit_hasher causing crashes 2019-07-11 08:47:05 +02:00
implicit_return.rs Removed lintining on never type. 2019-07-16 14:46:33 +02:00
implicit_return.stderr Removed lintining on never type. 2019-07-16 14:46:33 +02:00
inconsistent_digit_grouping.fixed
inconsistent_digit_grouping.rs
inconsistent_digit_grouping.stderr
indexing_slicing.rs cargo fmt 2019-07-16 21:28:03 +02:00
indexing_slicing.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
infallible_destructuring_match.fixed
infallible_destructuring_match.rs
infallible_destructuring_match.stderr
infinite_iter.rs
infinite_iter.stderr Deprecate unused_collect lint 2019-08-14 21:47:11 +02:00
infinite_loop.rs
infinite_loop.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
inherent_to_string.rs Fix "unkown clippy lint" error in UI test. 2019-07-17 08:58:36 +02:00
inherent_to_string.stderr Fix "unkown clippy lint" error in UI test. 2019-07-17 08:58:36 +02:00
inline_fn_without_body.rs
inline_fn_without_body.stderr
int_plus_one.rs
int_plus_one.stderr
integer_division.rs Adds lint for integer division 2019-06-12 09:37:14 -03:00
integer_division.stderr Adds lint for integer division 2019-06-12 09:37:14 -03:00
into_iter_on_ref.fixed Ignore desugarings in macro checks 2019-05-10 23:40:42 -07:00
into_iter_on_ref.rs
into_iter_on_ref.stderr Ignore desugarings in macro checks 2019-05-10 23:40:42 -07:00
invalid_upcast_comparisons.rs
invalid_upcast_comparisons.stderr
issue_2356.rs
issue_2356.stderr
issue_3849.rs Add TransmutingNull Lint 2019-04-02 11:39:43 -03:00
issue_3849.stdout fix missing a semicolon 2019-03-07 23:26:47 +09:00
issue_4266.rs Remove feature gate for async_await 2019-08-20 23:21:39 +00:00
issue_4266.stderr Remove feature gate for async_await 2019-08-20 23:21:39 +00:00
issue-3145.rs
issue-3145.stderr update test stderr, not sure which rustc pull request caused this. 2019-07-24 02:25:03 +02:00
item_after_statement.rs
item_after_statement.stderr
iter_nth.rs UI test cleanup: Extract iter_nth tests 2019-04-11 08:23:43 +02:00
iter_nth.stderr UI test cleanup: Extract iter_nth tests 2019-04-11 08:23:43 +02:00
iter_skip_next.rs
iter_skip_next.stderr
large_digit_groups.fixed
large_digit_groups.rs
large_digit_groups.stderr
large_enum_variant.rs
large_enum_variant.stderr
len_without_is_empty.rs Add run-rustfix for len_zero lint 2019-04-16 21:46:07 +02:00
len_without_is_empty.stderr Add run-rustfix for len_zero lint 2019-04-16 21:46:07 +02:00
len_zero.fixed Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
len_zero.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
len_zero.stderr Update stderr file 2019-08-01 22:20:08 +09:00
let_if_seq.rs cargo fmt 2019-04-25 19:41:23 -07:00
let_if_seq.stderr
let_return.rs Suppress let_and_return if let has attributes 2019-04-23 23:32:16 -07:00
let_return.stderr tweak let_and_return diagnostic 2019-05-24 14:52:55 -04:00
let_unit.fixed Add tests for auto fixable let_unit suggestion 2019-08-05 09:31:08 +02:00
let_unit.rs Add tests for auto fixable let_unit suggestion 2019-08-05 09:31:08 +02:00
let_unit.stderr Add tests for auto fixable let_unit suggestion 2019-08-05 09:31:08 +02:00
lint_without_lint_pass.rs Add tests for declare_lint_pass and impl_lint_pass 2019-04-17 09:35:23 -07:00
lint_without_lint_pass.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
literals.rs Requested test cleanup 2019-08-19 20:22:42 +12:00
literals.stderr Requested test cleanup 2019-08-19 20:22:42 +12:00
manual_memcpy.rs UI test cleanup: Extract manual_memcpy tests 2019-03-14 07:26:47 +01:00
manual_memcpy.stderr UI test cleanup: Extract manual_memcpy tests 2019-03-14 07:26:47 +01:00
many_single_char_names.rs Add test for #3198 2019-05-14 13:46:10 +02:00
many_single_char_names.stderr UI test cleanup: Extract many_single_char_names tests 2019-05-12 18:40:32 +02:00
map_clone.fixed Also rename the lint in test files 2019-05-16 20:18:07 +02:00
map_clone.rs Also rename the lint in test files 2019-05-16 20:18:07 +02:00
map_clone.stderr Suggest .copied() for map_clone on iterators too 2019-04-28 11:14:39 -07:00
map_flatten.rs
map_flatten.stderr
map_unit_fn.rs
match_as_ref.fixed Add run-rustfix for match_as_ref lint 2019-04-19 12:08:34 +02:00
match_as_ref.rs Add run-rustfix for match_as_ref lint 2019-04-19 12:08:34 +02:00
match_as_ref.stderr Add run-rustfix for match_as_ref lint 2019-04-19 12:08:34 +02:00
match_bool.rs Fix ellipsis_inclusive_range_patterns lint warnings 2019-06-01 07:54:47 +02:00
match_bool.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
match_overlapping_arm.rs Fix ellipsis_inclusive_range_patterns lint warnings 2019-06-01 07:54:47 +02:00
match_overlapping_arm.stderr Fix ellipsis_inclusive_range_patterns lint warnings 2019-06-01 07:54:47 +02:00
match_ref_pats.rs UI Test Cleanup: Extract match_ref_pats tests 2019-07-17 08:08:26 +02:00
match_ref_pats.stderr UI Test Cleanup: Extract match_ref_pats tests 2019-07-17 08:08:26 +02:00
match_same_arms.rs Fix match_same_arms false negative 2019-07-02 08:18:55 +02:00
match_same_arms.stderr Fix match_same_arms false negative 2019-07-02 08:18:55 +02:00
matches.rs UI Test Cleanup: Extract match_ref_pats tests 2019-07-17 08:08:26 +02:00
matches.stderr UI Test Cleanup: Extract match_ref_pats tests 2019-07-17 08:08:26 +02:00
mem_discriminant.rs
mem_discriminant.stderr
mem_forget.rs
mem_forget.stderr
mem_replace.fixed
mem_replace.rs
mem_replace.stderr
methods.rs Remove feature gate for async_await 2019-08-20 23:21:39 +00:00
methods.stderr Remove feature gate for async_await 2019-08-20 23:21:39 +00:00
min_max.rs
min_max.stderr
missing_inline.rs
missing_inline.stderr
missing-doc-crate-missing.rs Another test for missing crate documentation. 2019-03-14 19:38:41 +01:00
missing-doc-crate-missing.stderr Another test for missing crate documentation. 2019-03-14 19:38:41 +01:00
missing-doc-crate.rs Add a test for doc(include) 2019-03-14 19:33:06 +01:00
missing-doc-crate.stderr Add a test for doc(include) 2019-03-14 19:33:06 +01:00
missing-doc.rs
missing-doc.stderr
mistyped_literal_suffix.fixed cargo fmt 2019-03-19 06:57:41 +01:00
mistyped_literal_suffix.rs cargo fmt 2019-03-19 06:57:41 +01:00
mistyped_literal_suffix.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
module_inception.rs
module_inception.stderr
module_name_repetitions.rs Fix false positive in module_name_repetitions lint 2019-04-19 12:53:03 +02:00
module_name_repetitions.stderr Fix false positive in module_name_repetitions lint 2019-04-19 12:53:03 +02:00
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
needless_borrow.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
needless_borrow.stderr
needless_borrowed_ref.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
needless_borrowed_ref.stderr
needless_collect.rs
needless_collect.stderr
needless_continue.rs Fix needless_continue false positive 2019-03-12 03:40:30 +09:00
needless_continue.stderr Fix needless_continue false positive 2019-03-12 03:40:30 +09:00
needless_lifetimes.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
needless_lifetimes.stderr Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
needless_pass_by_value_proc_macro.rs Filter out proc_macro and proc_macro_attribute 2019-03-11 20:45:57 +09:00
needless_pass_by_value.rs Run rustfmt 2019-04-01 20:37:05 +02:00
needless_pass_by_value.stderr Fix ICE in needless_pass_by_value lint 2019-02-06 09:18:35 +01:00
needless_range_loop.rs UI test cleanup: Extract needless_range_loop tests 2019-04-24 08:01:16 +02:00
needless_range_loop.stderr UI test cleanup: Extract needless_range_loop tests 2019-04-24 08:01:16 +02:00
needless_return.rs update tests and fix lints in clippy 2019-06-21 14:17:59 +02:00
needless_return.stderr Use empty block instead of unit type for needless return 2019-07-08 20:45:51 +02:00
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 Fix never_loop false positive 2019-07-01 07:22:04 +02:00
never_loop.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
new_ret_no_self.rs
new_ret_no_self.stderr
new_without_default.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
new_without_default.stderr
no_effect.rs
no_effect.stderr
non_copy_const.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
non_copy_const.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
non_expressive_names.rs UI test cleanup: Extract many_single_char_names tests 2019-05-12 18:40:32 +02:00
non_expressive_names.stderr UI test cleanup: Extract many_single_char_names tests 2019-05-12 18:40:32 +02:00
non_expressive_names.stdout use a multispan for MANY_SINGLE_CHAR_NAMES 2019-04-05 10:07:39 -04:00
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_and_then_some.fixed Add test 2019-08-19 05:41:47 +00:00
option_and_then_some.rs Add test 2019-08-19 05:41:47 +00:00
option_and_then_some.stderr Add option_and_then_some lint 2019-08-19 03:54:40 +00:00
option_map_or_none.fixed Allow option_and_then_some in option_map_or_none test 2019-08-19 03:54:40 +00:00
option_map_or_none.rs Allow option_and_then_some in option_map_or_none test 2019-08-19 03:54:40 +00:00
option_map_or_none.stderr Allow option_and_then_some in option_map_or_none test 2019-08-19 03:54:40 +00:00
option_map_unit_fn.rs
option_map_unit_fn.stderr
option_option.rs
option_option.stderr
or_fun_call.rs Fix #4019 2019-05-12 10:18:38 +02:00
or_fun_call.stderr Fix #4019 2019-05-12 10:18:38 +02:00
outer_expn_data.rs Use outer_expn_data instead of outer_expn_info 2019-08-16 09:31:12 -07:00
outer_expn_data.stderr Use outer_expn_data instead of outer_expn_info 2019-08-16 09:31:12 -07:00
overflow_check_conditional.rs
overflow_check_conditional.stderr
panic_unimplemented.rs
panic_unimplemented.stderr
partialeq_ne_impl.rs
partialeq_ne_impl.stderr
path_buf_push_overwrite.fixed Move path_buf_push_overwrite to nursery 2019-04-21 10:24:51 -07:00
path_buf_push_overwrite.rs Move path_buf_push_overwrite to nursery 2019-04-21 10:24:51 -07:00
path_buf_push_overwrite.stderr Move path_buf_push_overwrite to nursery 2019-04-21 10:24:51 -07:00
patterns.rs
patterns.stderr
precedence.fixed
precedence.rs
precedence.stderr
print_literal.rs
print_literal.stderr
print_with_newline.rs add suggestions for print/write with newline lint 2019-05-30 13:46:04 -04:00
print_with_newline.stderr add suggestions for print/write with newline lint 2019-05-30 13:46:04 -04:00
print.rs
print.stderr
println_empty_string.fixed
println_empty_string.rs
println_empty_string.stderr
proc_macro.rs Add a test for #2526 2019-02-24 18:23:54 +01:00
proc_macro.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
ptr_arg.rs
ptr_arg.stderr
ptr_offset_with_cast.fixed
ptr_offset_with_cast.rs
ptr_offset_with_cast.stderr
question_mark.rs
question_mark.stderr Fix question_mark lint+test 2019-04-01 20:37:05 +02:00
range_plus_minus_one.rs
range_plus_minus_one.stderr
range.rs
range.stderr
redundant_clone.rs
redundant_clone.stderr
redundant_closure_call.rs Rustup to rust-lang/rust#62672 2019-08-15 10:14:06 +02:00
redundant_closure_call.stderr
redundant_field_names.fixed
redundant_field_names.rs
redundant_field_names.stderr
redundant_pattern_matching.rs Add two more tests, allow 2 other lints. 2019-08-21 07:43:42 +02:00
redundant_pattern_matching.stderr Add two more tests, allow 2 other lints. 2019-08-21 07:43:42 +02:00
redundant_static_lifetimes.rs Rename REDUNDANT_STATIC_LIFETIME to REDUNDANT_STATIC_LIFETIMES. 2019-06-14 10:45:03 +02:00
redundant_static_lifetimes.stderr Rename REDUNDANT_STATIC_LIFETIME to REDUNDANT_STATIC_LIFETIMES. 2019-06-14 10:45:03 +02:00
regex.rs
regex.stderr
rename.rs Restructure rename tests 2019-06-14 10:45:03 +02:00
rename.stderr Restructure rename tests 2019-06-14 10:45:03 +02:00
renamed_builtin_attr.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
renamed_builtin_attr.stderr Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
replace_consts.fixed Update rustfix tests 2019-07-06 12:34:32 +07:00
replace_consts.rs Remove lint for ONCE_INIT 2019-07-06 12:34:32 +07:00
replace_consts.stderr Update rustfix tests 2019-07-06 12:34:32 +07:00
result_map_unit_fn.rs
result_map_unit_fn.stderr
result_map_unwrap_or_else.rs
result_map_unwrap_or_else.stderr
serde.rs Revert "Turn off two tests broken due to #4108" 2019-05-20 12:31:53 +02:00
serde.stderr Revert "Turn off two tests broken due to #4108" 2019-05-20 12:31:53 +02:00
shadow.rs
shadow.stderr
short_circuit_statement.rs
short_circuit_statement.stderr
similar_names.rs UI test cleanup: Extract similar_names tests 2019-02-10 09:48:31 +01:00
similar_names.stderr UI test cleanup: Extract similar_names tests 2019-02-10 09:48:31 +01:00
single_char_pattern.fixed Add more tests for raw string literal 2019-08-09 06:22:26 +00:00
single_char_pattern.rs Add more tests for raw string literal 2019-08-09 06:22:26 +00:00
single_char_pattern.stderr Add more tests for raw string literal 2019-08-09 06:22:26 +00:00
single_match_else.rs
single_match_else.stderr
single_match.rs Fix ellipsis_inclusive_range_patterns lint warnings 2019-06-01 07:54:47 +02:00
single_match.stderr Fix ellipsis_inclusive_range_patterns lint warnings 2019-06-01 07:54:47 +02:00
slow_vector_initialization.rs
slow_vector_initialization.stderr
slow_vector_initialization.stdout
starts_ends_with.fixed
starts_ends_with.rs
starts_ends_with.stderr
string_extend.fixed
string_extend.rs
string_extend.stderr
string_lit_as_bytes.fixed Avoid reporting string_lit_as_bytes for long strings 2019-07-08 13:13:01 -03:00
string_lit_as_bytes.rs Avoid reporting string_lit_as_bytes for long strings 2019-07-08 13:13:01 -03:00
string_lit_as_bytes.stderr Avoid reporting string_lit_as_bytes for long strings 2019-07-08 13:13:01 -03:00
strings.rs Run rustfix for string_lit_as_bytes tests 2019-03-14 06:59:30 +01:00
strings.stderr Run rustfix for string_lit_as_bytes tests 2019-03-14 06:59:30 +01:00
suspicious_arithmetic_impl.rs
suspicious_arithmetic_impl.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
suspicious_map.rs Add ui test 2019-08-15 22:58:32 +02:00
suspicious_map.stderr Change lint type to 'complexity' 2019-08-18 16:49:11 +02:00
swap.rs Rustup to rust-lang/rust#62984 2019-08-15 10:14:06 +02:00
swap.stderr
temporary_assignment.rs
temporary_assignment.stderr
toplevel_ref_arg.rs Allow allowing of toplevel_ref_arg lint 2019-04-19 15:18:32 +02:00
toplevel_ref_arg.stderr
trailing_zeros.rs
trailing_zeros.stderr
trailing_zeros.stdout
transmute_32bit.rs
transmute_64bit.rs
transmute_64bit.stderr
transmute.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
transmute.stderr
transmuting_null.rs Add TransmutingNull Lint 2019-04-02 11:39:43 -03:00
transmuting_null.stderr Add TransmutingNull Lint 2019-04-02 11:39:43 -03:00
trivially_copy_pass_by_ref.rs Fix allow bug in trivially_copy_pass_by_ref 2019-07-03 07:15:21 +02:00
trivially_copy_pass_by_ref.stderr trivially_copy_pass_by_ref: print size of type and limit in the lint message 2019-05-23 23:48:20 +02:00
try_err.fixed Fix macro expansion in try_err lint 2019-08-08 20:22:52 +07:00
try_err.rs Fix macro expansion in try_err lint 2019-08-08 20:22:52 +07:00
try_err.stderr Fix macro expansion in try_err lint 2019-08-08 20:22:52 +07:00
ty_fn_sig.rs
ty_fn_sig.stderr
type_repetition_in_bounds.rs Respond to review comments 2019-07-27 21:58:29 +01:00
type_repetition_in_bounds.stderr Updated tests. 2019-07-27 22:53:26 +01:00
types.fixed
types.rs
types.stderr Change "if types change" to "if you later change the type" 2019-04-23 16:53:09 -07:00
unicode.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
unicode.stderr Fix tests and make other ascii lints auto-fixable 2019-05-20 16:02:50 +02:00
unit_arg.fixed
unit_arg.rs
unit_arg.stderr
unit_cmp.rs
unit_cmp.stderr
unknown_attribute.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
unknown_attribute.stderr Add test for unknown Clippy attributes 2019-02-28 20:18:42 +01:00
unknown_clippy_lints.rs
unknown_clippy_lints.stderr
unnecessary_cast_fixable.fixed Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
unnecessary_cast_fixable.rs Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
unnecessary_cast_fixable.stderr Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
unnecessary_cast.rs Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
unnecessary_cast.stderr Split up cast.rs tests, run-rustfix for unnecessary_cast 2019-08-04 08:24:23 +02:00
unnecessary_clone.rs Fix clone_on_copy false positives 2019-08-19 08:19:54 +02:00
unnecessary_clone.stderr Fix clone_on_copy false positives 2019-08-19 08:19:54 +02:00
unnecessary_filter_map.rs
unnecessary_filter_map.stderr
unnecessary_flat_map.fixed Update test 2019-08-13 21:50:52 +02:00
unnecessary_flat_map.rs Update test 2019-08-13 21:50:52 +02:00
unnecessary_flat_map.stderr Update test 2019-08-13 21:50:52 +02:00
unnecessary_fold.fixed Add multiline test 2019-08-14 19:34:50 +02:00
unnecessary_fold.rs Add multiline test 2019-08-14 19:34:50 +02:00
unnecessary_fold.stderr Update tests 2019-08-14 19:35:17 +02:00
unnecessary_operation.rs
unnecessary_operation.stderr
unnecessary_ref.fixed
unnecessary_ref.rs
unnecessary_ref.stderr
unneeded_field_pattern.rs
unneeded_field_pattern.stderr
unreadable_literal.fixed Add macro check for unreadable_literal lint 2019-05-15 14:57:56 +02:00
unreadable_literal.rs Add macro check for unreadable_literal lint 2019-05-15 14:57:56 +02:00
unreadable_literal.stderr Add macro check for unreadable_literal lint 2019-05-15 14:57:56 +02:00
unsafe_removed_from_name.rs
unsafe_removed_from_name.stderr
unseparated_prefix_literals.fixed run-rustfix for unseparated-prefix-literals 2019-08-19 02:58:58 +12:00
unseparated_prefix_literals.rs run-rustfix for unseparated-prefix-literals 2019-08-19 02:58:58 +12:00
unseparated_prefix_literals.stderr run-rustfix for unseparated-prefix-literals 2019-08-19 02:58:58 +12:00
unused_io_amount.rs Rustup to rust-lang/rust#62672 2019-08-15 10:14:06 +02:00
unused_io_amount.stderr Rustup to rust-lang/rust#62672 2019-08-15 10:14:06 +02:00
unused_labels.rs
unused_labels.stderr
unused_unit.fixed Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
unused_unit.rs Rustup to https://github.com/rust-lang/rust/pull/61203 2019-05-30 08:31:09 +02:00
unused_unit.stderr Enable rustfix on unused_unit tests 2019-03-07 08:26:53 +02:00
unwrap_or.rs
unwrap_or.stderr
unwrap_or.stdout
update-all-references.sh
update-references.sh Reblessed test outputs. 2019-03-10 18:13:15 +00:00
use_self.fixed Update formatting 2019-08-01 07:09:57 +02:00
use_self.rs Update formatting 2019-08-01 07:09:57 +02:00
use_self.stderr Extend the use_self lint to suggest uses of Self::Variant. 2019-07-31 08:50:43 +00:00
used_underscore_binding.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
used_underscore_binding.stderr Add test for derives for used_underscore_binding lint 2019-04-20 09:33:13 +02:00
useful_asref.rs
useless_asref.fixed Enable rustfix for useless_asref lint tests 2019-03-15 07:29:12 +01:00
useless_asref.rs Enable rustfix for useless_asref lint tests 2019-03-15 07:29:12 +01:00
useless_asref.stderr Enable rustfix for useless_asref lint tests 2019-03-15 07:29:12 +01:00
useless_attribute.rs useless_attribute: Add unreachable_pub to whitelists 2019-05-18 14:22:16 +09:00
useless_attribute.stderr useless_attribute: Add unreachable_pub to whitelists 2019-05-18 14:22:16 +09:00
vec_box_sized.fixed Fix ICE in vec_box lint and add run-rustfix 2019-02-01 18:18:45 +01:00
vec_box_sized.rs Fix ICE in vec_box lint and add run-rustfix 2019-02-01 18:18:45 +01:00
vec_box_sized.stderr Fix ICE in vec_box lint and add run-rustfix 2019-02-01 18:18:45 +01:00
vec.fixed
vec.rs
vec.stderr
while_let_loop.rs Split while_loop.rs tests 2019-05-08 09:24:24 +02:00
while_let_loop.stderr Split while_loop.rs tests 2019-05-08 09:24:24 +02:00
while_let_on_iterator.rs Remove unused attrs in while_let_on_iterator tests 2019-05-09 05:58:54 +02:00
while_let_on_iterator.stderr Fix while_let_on_iterator.stderr 2019-05-09 05:54:05 +02:00
wildcard_enum_match_arm.rs Restore tests 2019-02-18 22:56:43 +00:00
wildcard_enum_match_arm.stderr Restore tests 2019-02-18 22:56:43 +00:00
write_literal.rs
write_literal.stderr
write_with_newline.rs add suggestions for print/write with newline lint 2019-05-30 13:46:04 -04:00
write_with_newline.stderr add suggestions for print/write with newline lint 2019-05-30 13:46:04 -04:00
writeln_empty_string.fixed
writeln_empty_string.rs
writeln_empty_string.stderr
wrong_self_convention.rs Fix wrong_self_convention issue 2019-08-10 06:01:15 +02:00
wrong_self_convention.stderr
zero_div_zero.rs
zero_div_zero.stderr rustup https://github.com/rust-lang/rust/pull/62764 2019-07-19 00:35:32 +02:00
zero_ptr.rs
zero_ptr.stderr