rust/tests/ui
2019-03-10 18:06:28 +00:00
..
author fix missing a semicolon 2019-03-07 23:26:47 +09:00
auxiliary
crashes Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
missing_const_for_fn Fix missing_const_for_fn for impl trait methods 2019-03-05 08:11:55 +01:00
absurd-extreme-comparisons.rs
absurd-extreme-comparisons.stderr
approx_const.rs
approx_const.stderr
arithmetic.rs Actually check for constants. 2019-01-21 13:59:49 +01:00
arithmetic.stderr Actually check for constants. 2019-01-21 13:59:49 +01:00
assertions_on_constants.rs Add tests for assertion_on_constants macro check 2019-02-05 19:37:54 +01:00
assertions_on_constants.stderr Add tests for assertion_on_constants macro check 2019-02-05 19:37:54 +01:00
assign_ops2.rs
assign_ops2.stderr
assign_ops.rs
assign_ops.stderr
attrs.rs allow assertions_on_constants for collapsible_if and missing_test_files 2019-01-23 17:58:33 +03:00
attrs.stderr
author.rs
author.stdout fix missing a semicolon 2019-03-07 23:26:47 +09:00
bit_masks.rs
bit_masks.stderr
blacklisted_name.rs
blacklisted_name.stderr
block_in_if_condition.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
block_in_if_condition.stderr
bool_comparison.rs Fix bool_comparison with non-bool expressions 2019-02-25 22:31:16 +01:00
bool_comparison.stderr
booleans.rs
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 Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
cast_alignment.stderr
cast_lossless_float.fixed Prevent incorrect cast_lossless suggestion in const_fn 2019-01-26 10:57:15 +01:00
cast_lossless_float.rs Prevent incorrect cast_lossless suggestion in const_fn 2019-01-26 10:57:15 +01:00
cast_lossless_float.stderr Prevent incorrect cast_lossless suggestion in const_fn 2019-01-26 10:57:15 +01:00
cast_lossless_integer.fixed Prevent incorrect cast_lossless suggestion in const_fn 2019-01-26 10:57:15 +01:00
cast_lossless_integer.rs Prevent incorrect cast_lossless suggestion in const_fn 2019-01-26 10:57:15 +01:00
cast_lossless_integer.stderr Prevent incorrect cast_lossless suggestion in const_fn 2019-01-26 10:57:15 +01: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
cast_size.stderr Fix cast_sign_loss false positive 2019-01-31 06:32:29 +02:00
cast.rs Fix cast_sign_loss false positive 2019-01-31 06:32:29 +02:00
cast.stderr Fix cast_sign_loss false positive 2019-01-31 06:32:29 +02:00
cfg_attr_rustfmt.fixed
cfg_attr_rustfmt.rs
cfg_attr_rustfmt.stderr Disable deprecated_cfg_attr lint for inner attributes 2019-01-13 11:53:43 +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
cmp_nan.rs
cmp_nan.stderr
cmp_null.rs
cmp_null.stderr
cmp_owned.rs
cmp_owned.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 Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
cognitive_complexity.stderr Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
collapsible_if.fixed Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
collapsible_if.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03: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
const_static_lifetime.rs
const_static_lifetime.stderr
copy_iterator.rs
copy_iterator.stderr
cstring.rs
cstring.stderr
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.rs
decimal_literal_representation.stderr
default_trait_access.rs
default_trait_access.stderr
default_trait_access.stdout
deprecated.rs
deprecated.stderr update test stderr 2019-01-27 13:46:22 +01:00
derive.rs
derive.stderr
diverging_sub_expression.rs
diverging_sub_expression.stderr
dlist.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
dlist.stderr
doc.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
doc.stderr Various cosmetic improvements. 2019-03-10 18:06:28 +00: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 Fix formatting 2019-02-18 19:36:58 -07:00
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.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
entry.rs
entry.stderr
enum_glob_use.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
enum_glob_use.stderr
enum_variants.rs
enum_variants.stderr
enums_clike.rs
enums_clike.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01:00
eq_op.rs
eq_op.stderr
erasing_op.rs
erasing_op.stderr
escape_analysis.rs
escape_analysis.stderr
eta.rs do not trigger redundant_closure when there is a difference in borrow level between closure parameter and "self" 2019-02-26 12:12:27 +01:00
eta.stderr test formatting 2019-02-10 21:23:04 +01: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
explicit_counter_loop.stderr
explicit_write.fixed
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_kv_map.rs
for_kv_map.stderr
for_loop_over_option_result.rs
for_loop_over_option_result.stderr
for_loop.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
for_loop.stderr
for_loop.stdout
format.fixed Fix useless_format suggestions 2019-02-24 07:30:08 +02:00
format.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
format.stderr Fix useless_format suggestions 2019-02-24 07:30:08 +02: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
functions.stderr
fxhash.rs
fxhash.stderr Remove all copyright license headers 2019-01-08 21:46:39 +01: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-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
identity_conversion.rs
identity_conversion.stderr
identity_op.rs
identity_op.stderr
if_not_else.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
if_not_else.stderr
if_same_then_else.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
if_same_then_else.stderr UI test cleanup: Extract match_same_arms tests 2019-02-10 10:19:24 +01:00
ifs_same_cond.rs
ifs_same_cond.stderr
impl.rs
impl.stderr
implicit_hasher.rs
implicit_hasher.stderr
implicit_return.rs Fix implicit_return false positives. 2019-01-20 13:45:22 +01:00
implicit_return.stderr Fix implicit_return false positives. 2019-01-20 13:45:22 +01:00
inconsistent_digit_grouping.fixed
inconsistent_digit_grouping.rs
inconsistent_digit_grouping.stderr
indexing_slicing.rs
indexing_slicing.stderr
infallible_destructuring_match.fixed
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.fixed
into_iter_on_ref.rs
into_iter_on_ref.stderr
invalid_ref.rs
invalid_ref.stderr
invalid_upcast_comparisons.rs
invalid_upcast_comparisons.stderr
issue_2356.rs
issue_2356.stderr
issue_3849.rs fix missing a semicolon 2019-03-07 23:26:47 +09:00
issue_3849.stdout fix missing a semicolon 2019-03-07 23:26:47 +09:00
issue-3145.rs
issue-3145.stderr
item_after_statement.rs
item_after_statement.stderr
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_zero.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
len_zero.stderr
let_if_seq.rs
let_if_seq.stderr
let_return.rs
let_return.stderr
let_unit.rs
let_unit.stderr
lifetimes.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
lifetimes.stderr
lint_without_lint_pass.rs rustup https://github.com/rust-lang/rust/pull/57726 2019-01-27 01:42:34 +01:00
lint_without_lint_pass.stderr
literals.rs
literals.stderr
map_clone.fixed removing redundant closures in the whole project 2019-02-10 13:35:44 +01:00
map_clone.rs removing redundant closures in the whole project 2019-02-10 13:35:44 +01:00
map_clone.stderr removing redundant closures in the whole project 2019-02-10 13:35:44 +01:00
map_flatten.rs
map_flatten.stderr
map_unit_fn.rs
match_bool.rs
match_bool.stderr
match_overlapping_arm.rs
match_overlapping_arm.stderr
match_same_arms.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
match_same_arms.stderr UI test cleanup: Rename copies.rs to match_same_arms.rs 2019-02-10 10:20:28 +01:00
matches.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
matches.stderr Add test related to the ICE 2019-02-19 21:34:14 +01:00
mem_discriminant.rs
mem_discriminant.stderr
mem_forget.rs
mem_forget.stderr
mem_replace.fixed
mem_replace.rs
mem_replace.stderr
methods.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
methods.stderr Fix false negative 2019-02-26 17:29:36 +01:00
min_max.rs
min_max.stderr
missing_inline.rs
missing_inline.stderr
missing-doc.rs
missing-doc.stderr
module_inception.rs
module_inception.stderr
module_name_repetitions.rs
module_name_repetitions.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
needless_bool.rs needless bool lint suggestion is wrapped in brackets if it is an "else" clause of an "if-else" statement 2019-01-20 16:15:00 +01:00
needless_bool.stderr needless bool lint suggestion is wrapped in brackets if it is an "else" clause of an "if-else" statement 2019-01-20 16:15:00 +01:00
needless_borrow.rs
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
needless_continue.stderr
needless_pass_by_value_proc_macro.rs
needless_pass_by_value.rs Fix ICE in needless_pass_by_value lint 2019-02-06 09:18:35 +01: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 Make needless_range_loop not applicable to structures without iter method 2019-02-20 00:10:25 -08:00
needless_range_loop.stderr Fix needless_range_loop bad suggestion 2019-02-11 07:03:12 +02: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.stderr
new_without_default.rs
new_without_default.stderr
no_effect.rs
no_effect.stderr
non_copy_const.rs Remove tests for deprecated items 2019-01-28 10:17:04 +01:00
non_copy_const.stderr Remove tests for deprecated items 2019-01-28 10:17:04 +01:00
non_expressive_names.rs UI test cleanup: Extract similar_names tests 2019-02-10 09:48:31 +01:00
non_expressive_names.stderr UI test cleanup: Extract similar_names tests 2019-02-10 09:48:31 +01: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_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 allow assertions_on_constants for collapsible_if and missing_test_files 2019-01-23 17:58:33 +03:00
panic_unimplemented.stderr
partialeq_ne_impl.rs
partialeq_ne_impl.stderr
patterns.rs
patterns.stderr
precedence.fixed
precedence.rs
precedence.stderr
print_literal.rs
print_literal.stderr
print_with_newline.rs Check {print,write}_with_newline for literal newline 2019-02-18 19:22:20 -05:00
print_with_newline.stderr Check {print,write}_with_newline for literal newline 2019-02-18 19:22:20 -05: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 Add a test for #2526 2019-02-24 18:23:54 +01: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
range_plus_minus_one.rs
range_plus_minus_one.stderr
range.rs
range.stderr
redundant_clone.rs
redundant_clone.stderr
redundant_closure_call.rs
redundant_closure_call.stderr
redundant_field_names.fixed
redundant_field_names.rs
redundant_field_names.stderr
redundant_pattern_matching.rs
redundant_pattern_matching.stderr
reference.rs
reference.stderr
regex.rs
regex.stderr
rename.rs Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03:00
rename.stderr Renamed: Cyclomatic Complexity -> Cognitive Complexity 2019-03-06 10:07:38 -03: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 Atomics constants are now handled by the deprecation lint 2019-01-28 10:10:27 +01:00
replace_consts.rs Atomics constants are now handled by the deprecation lint 2019-01-28 10:10:27 +01:00
replace_consts.stderr Atomics constants are now handled by the deprecation lint 2019-01-28 10:10:27 +01: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
serde.stderr
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 Rustup: unused trim result 2019-01-31 08:27:04 +01:00
single_char_pattern.rs Rustup: unused trim result 2019-01-31 08:27:04 +01:00
single_char_pattern.stderr Rustup: unused trim result 2019-01-31 08:27:04 +01:00
single_match_else.rs
single_match_else.stderr
single_match.rs
single_match.stderr
slow_vector_initialization.rs
slow_vector_initialization.stderr
slow_vector_initialization.stdout Add slow zero-filled vector initialization lint 2018-11-25 14:34:23 -08:00
starts_ends_with.fixed
starts_ends_with.rs
starts_ends_with.stderr
string_extend.fixed
string_extend.rs
string_extend.stderr
strings.rs
strings.stderr
suspicious_arithmetic_impl.rs
suspicious_arithmetic_impl.stderr
swap.rs
swap.stderr
temporary_assignment.rs
temporary_assignment.stderr
toplevel_ref_arg.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00: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
transmute.stderr
trivially_copy_pass_by_ref.rs
trivially_copy_pass_by_ref.stderr
ty_fn_sig.rs
ty_fn_sig.stderr
types.fixed
types.rs
types.stderr
unicode.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
unicode.stderr
unit_arg.fixed Fix unit_arg false positive 2019-01-29 07:22:08 +02:00
unit_arg.rs Fix unit_arg false positive 2019-01-29 07:22:08 +02:00
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_clone.rs Format again 2019-02-19 06:39:22 +02:00
unnecessary_clone.stderr Format again 2019-02-20 06:06:00 +02:00
unnecessary_filter_map.rs
unnecessary_filter_map.stderr
unnecessary_fold.fixed
unnecessary_fold.rs
unnecessary_fold.stderr
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
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.fixed Enable rustfix on unused_unit tests 2019-03-07 08:26:53 +02:00
unused_unit.rs Enable rustfix on unused_unit tests 2019-03-07 08:26:53 +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
use_self.fixed Added rustfix to the test. 2019-01-22 15:16:54 +01:00
use_self.rs Added rustfix to the test. 2019-01-22 15:16:54 +01:00
use_self.stderr Added rustfix to the test. 2019-01-22 15:16:54 +01:00
used_underscore_binding.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
used_underscore_binding.stderr
useful_asref.rs
useless_asref.rs
useless_asref.stderr
useless_attribute.rs
useless_attribute.stderr
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_loop.rs Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
while_loop.stderr
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 Check {print,write}_with_newline for literal newline 2019-02-18 19:22:20 -05:00
write_with_newline.stderr Check {print,write}_with_newline for literal newline 2019-02-18 19:22:20 -05:00
writeln_empty_string.fixed
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