rust/tests/ui
Philipp Hansch 641f0685d0
Split up some single_match UI tests
This moves only the single_match tests over to the new file.
2018-04-05 22:45:36 +02:00
..
absurd-extreme-comparisons.rs
absurd-extreme-comparisons.stderr Update test suite 2018-03-28 23:49:32 +02:00
approx_const.rs Fix unreadable_literal lint for scientific float notation 2018-03-04 16:28:34 +01:00
approx_const.stderr
arithmetic.rs
arithmetic.stderr
array_indexing.rs Rustup 2018-03-16 09:44:20 +01:00
array_indexing.stderr
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
assign_ops.rs
assign_ops.stderr
attrs.rs
attrs.stderr
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
bit_masks.stderr Update test suite 2018-03-28 23:49:32 +02:00
blacklisted_name.rs
blacklisted_name.stderr
block_in_if_condition.rs
block_in_if_condition.stderr
bool_comparison.rs
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 Update tests 2018-03-15 10:25:57 +01:00
bytecount.rs
bytecount.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
char_lit_as_u8.rs
char_lit_as_u8.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
collapsible_if.rs typo 2018-04-05 04:13:14 +02:00
collapsible_if.stderr
complex_types.rs
complex_types.stderr
conf_bad_arg.rs
conf_bad_arg.stderr Update tests 2018-03-15 10:25:57 +01:00
conf_bad_toml.rs
conf_bad_toml.stderr Update tests 2018-03-15 10:25:57 +01:00
conf_bad_toml.toml
conf_bad_type.rs
conf_bad_type.stderr Update tests 2018-03-15 10:25:57 +01:00
conf_bad_type.toml
conf_french_blacklisted_name.rs
conf_french_blacklisted_name.stderr Update tests 2018-03-15 10:25:57 +01:00
conf_path_non_string.rs
conf_path_non_string.stderr Update tests 2018-03-15 10:25:57 +01:00
conf_unknown_key.rs
conf_unknown_key.stderr Update tests 2018-03-15 10:25:57 +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 Rustup 2018-03-16 09:44:20 +01:00
copies.stderr Rustup 2018-03-16 09:44:20 +01:00
cstring.rs
cstring.stderr Update test suite 2018-03-28 23:49:32 +02:00
cyclomatic_complexity_attr_used.rs
cyclomatic_complexity_attr_used.stderr
cyclomatic_complexity.rs
cyclomatic_complexity.stderr
decimal_literal_representation.rs Make decimal_literal_representation a restriction lint 2018-02-06 13:05:20 +01:00
decimal_literal_representation.stderr Fix #2494 add suggestion for unreadable_literal 2018-03-03 12:25:20 -05:00
deprecated.rs
deprecated.stderr
derive.rs Update test suite 2018-03-28 23:49:32 +02:00
derive.stderr Update test suite 2018-03-28 23:49:32 +02:00
diverging_sub_expression.rs
diverging_sub_expression.stderr
dlist.rs Update test suite 2018-03-28 23:49:32 +02:00
dlist.stderr
doc.rs
doc.stderr
double_comparison.rs Add double comparions lint 2018-01-30 10:35:35 +09:00
double_comparison.stderr Update test suite 2018-03-28 23:49:32 +02:00
double_neg.rs
double_neg.stderr
double_parens.rs
double_parens.stderr
drop_forget_copy.rs Apply requested changes 2018-01-23 15:29:31 +01:00
drop_forget_copy.stderr
drop_forget_ref.rs
drop_forget_ref.stderr
duplicate_underscore_argument.rs
duplicate_underscore_argument.stderr
else_if_without_else.rs
else_if_without_else.stderr
empty_enum.rs
empty_enum.stderr
empty_line_after_outer_attribute.rs Handle nested block comments 2018-03-30 12:36:50 +02: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
entry.stderr
enum_glob_use.rs Fix enum_glob_use false positives 2018-03-27 06:34:11 +02:00
enum_glob_use.stderr
enum_variants.rs
enum_variants.stderr
enums_clike.rs
enums_clike.stderr
eq_op.rs Add tests to ensure that issue #2420 is resolved 2018-03-23 20:26:52 +02:00
eq_op.stderr Add tests to ensure that issue #2420 is resolved 2018-03-23 20:26:52 +02:00
erasing_op.rs
erasing_op.stderr
escape_analysis.rs
escape_analysis.stderr
eta.rs
eta.stderr
eval_order_dependence.rs
eval_order_dependence.stderr
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 Update to rustc master 2018-03-13 11:38:21 +01:00
for_loop.rs Rustup 2018-03-16 09:44:20 +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 Merge pull request #2632 from phansch/fix_useless_format_false_positive 2018-04-05 09:59:12 +02:00
format.stderr Fix useless_format false positive with macros 2018-04-05 07:52:26 +02:00
formatting.rs
formatting.stderr
functions.rs
functions.stderr
get_unwrap.rs
get_unwrap.stderr
identity_conversion.rs
identity_conversion.stderr
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
if_let_redundant_pattern_matching.stderr
if_not_else.rs
if_not_else.stderr
implicit_hasher.rs
implicit_hasher.stderr
inconsistent_digit_grouping.rs
inconsistent_digit_grouping.stderr Fix #2494 add suggestion for unreadable_literal 2018-03-03 12:25:20 -05:00
infinite_iter.rs
infinite_iter.stderr
infinite_loop.rs Don't trigger while_immutable_condition for mutable fields of tuples/structs 2018-04-03 16:41:30 +02:00
infinite_loop.stderr Don't trigger while_immutable_condition for mutable fields of tuples/structs 2018-04-03 16:41:30 +02: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
int_plus_one.stderr
invalid_ref.rs
invalid_ref.stderr Update test suite 2018-03-28 23:49:32 +02:00
invalid_upcast_comparisons.rs
invalid_upcast_comparisons.stderr
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
item_after_statement.stderr
large_digit_groups.rs
large_digit_groups.stderr Fix #2494 add suggestion for unreadable_literal 2018-03-03 12:25:20 -05:00
large_enum_variant.rs
large_enum_variant.stderr
len_zero.rs
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
lifetimes.stderr
literals.rs
literals.stderr
map_clone.rs
map_clone.stderr
matches.rs Split up some single_match UI tests 2018-04-05 22:45:36 +02:00
matches.stderr Split up some single_match UI tests 2018-04-05 22:45:36 +02:00
mem_forget.rs
mem_forget.stderr
methods.rs Update test suite 2018-03-28 23:49:32 +02:00
methods.stderr Stop unwanted newlines being applied on unwrap_or 2018-02-21 11:29:08 -05:00
min_max.rs
min_max.stderr
missing-doc.rs
missing-doc.stderr
module_inception.rs
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
needless_bool.rs
needless_bool.stderr
needless_borrow.rs Lint passing Cow by reference 2018-02-28 10:24:10 -05:00
needless_borrow.stderr Change recomendation to: &[type] from Cow<type> 2018-03-03 12:25:20 -05:00
needless_borrowed_ref.rs
needless_borrowed_ref.stderr
needless_continue.rs
needless_continue.stderr
needless_pass_by_value_proc_macro.rs
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_range_loop.rs
needless_range_loop.stderr Update spans 2018-01-29 09:48:11 +05:30
needless_return.rs
needless_return.stderr
needless_update.rs
needless_update.stderr
neg_multiply.rs
neg_multiply.stderr
never_loop.rs lint: immutable only vars in while condition 2018-02-25 18:25:31 +01:00
never_loop.stderr Address review comments 2018-03-29 13:41:53 +02:00
new_without_default.rs
new_without_default.stderr
no_effect.rs Rustup 2018-03-16 09:44:20 +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
ok_expect.stderr
ok_if_let.rs
ok_if_let.stderr
op_ref.rs
op_ref.stderr Update to rustc master 2018-03-13 11:38:21 +01:00
open_options.rs
open_options.stderr
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
overflow_check_conditional.stderr
panic.rs
panic.stderr
partialeq_ne_impl.rs
partialeq_ne_impl.stderr
patterns.rs
patterns.stderr
precedence.rs
precedence.stderr Merge pull request #2364 from flip1995/precedence 2018-01-19 12:07:00 +01:00
print_literal.rs Revert adding env! to tests 2018-04-02 21:34:04 +01:00
print_literal.stderr Revert adding env! to tests 2018-04-02 21:34:04 +01:00
print_with_newline.rs Add #![allow(print_literal)] to other test/ui/print_*.rs tests 2018-04-02 00:24:40 +01:00
print_with_newline.stderr Add #![allow(print_literal)] to other test/ui/print_*.rs tests 2018-04-02 00:24:40 +01:00
print.rs Add #![allow(print_literal)] to other test/ui/print_*.rs tests 2018-04-02 00:24:40 +01:00
print.stderr Add #![allow(print_literal)] to other test/ui/print_*.rs tests 2018-04-02 00:24:40 +01:00
println_empty_string.rs
println_empty_string.stderr
ptr_arg.rs
ptr_arg.stderr
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_plus_minus_one.rs Rustup 2018-03-16 09:44:20 +01:00
range_plus_minus_one.stderr Rustup 2018-03-16 09:44:20 +01:00
range.rs Rustup 2018-03-16 09:44:20 +01:00
range.stderr Rustup 2018-03-16 09:44:20 +01:00
redundant_closure_call.rs
redundant_closure_call.stderr
redundant_field_names.rs Rustup 2018-03-16 09:44:20 +01:00
redundant_field_names.stderr Ignore all macros in redundant_field_names 2018-03-11 13:57:28 +09:00
reference.rs
reference.stderr
regex.rs let invalid_regex point to the right place for raw strings 2018-01-23 16:52:14 +01:00
regex.stderr Update dependencies 2018-03-13 16:54:13 +01:00
replace_consts.rs make it pass for now 2018-03-25 21:04:05 -05:00
replace_consts.stderr whitespace 2018-03-25 21:26:10 -05:00
serde.rs
serde.stderr
shadow.rs Update test suite 2018-03-28 23:49:32 +02:00
shadow.stderr
short_circuit_statement.rs
short_circuit_statement.stderr
single_char_pattern.rs Fix single_char_pattern for \n, \t, etc. 2018-03-02 22:00:01 +07:00
single_char_pattern.stderr Fix single_char_pattern for \n, \t, etc. 2018-03-02 22:00:01 +07:00
single_match.rs Split up some single_match UI tests 2018-04-05 22:45:36 +02:00
single_match.stderr Split up some single_match UI tests 2018-04-05 22:45:36 +02:00
starts_ends_with.rs
starts_ends_with.stderr
string_extend.rs
string_extend.stderr
strings.rs
strings.stderr
stutter.rs
stutter.stderr
suspicious_arithmetic_impl.rs Don't lint comparison operators in arithmetic impls 2018-03-17 22:02:34 +01:00
suspicious_arithmetic_impl.stderr Update test suite 2018-03-28 23:49:32 +02:00
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 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
ty_fn_sig.rs
types.rs
types.stderr
unicode.rs
unicode.stderr
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
unit_cmp.stderr
unnecessary_clone.rs
unnecessary_clone.stderr Update test suite 2018-03-28 23:49:32 +02:00
unneeded_field_pattern.rs
unneeded_field_pattern.stderr
unreadable_literal.rs Increase unreadable_literal digits (fixes #1958) 2018-03-06 14:24:01 +01:00
unreadable_literal.stderr Increase unreadable_literal digits (fixes #1958) 2018-03-06 14:24:01 +01:00
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
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
update-references.sh
use_self.rs
use_self.stderr
used_underscore_binding.rs
used_underscore_binding.stderr
useless_asref.rs
useless_asref.stderr
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
vec.stderr
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
wrong_self_convention.stderr
zero_div_zero.rs
zero_div_zero.stderr Update test suite 2018-03-28 23:49:32 +02:00
zero_ptr.rs
zero_ptr.stderr