rust/tests/ui
2018-08-14 09:52:27 +01:00
..
author Fix fallout from rust-lang/rust#52841 2018-08-02 18:08:22 -07:00
absurd-extreme-comparisons.rs
absurd-extreme-comparisons.stderr Update test suite 2018-03-28 23:49:32 +02:00
approx_const.rs New excessive precision lint for floats 2018-04-24 15:18:23 -07:00
approx_const.stderr New excessive precision lint for floats 2018-04-24 15:18:23 -07:00
arithmetic.rs
arithmetic.stderr
assign_ops2.rs
assign_ops2.stderr
assign_ops.rs
assign_ops.stderr
attrs.rs
attrs.stderr
author.rs Use the new scoped tool attributes 2018-05-19 14:04:57 +02:00
author.stdout DeclKind 2018-07-16 11:48:33 +02: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 Fix badly mangled lint message for neg-cmp-op-on-partial-ord 2018-06-29 16:55:31 +02:00
booleans.stderr Fix nonminimal_bool false positive 2018-04-07 12:52:59 +02:00
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_alignment.rs Make cast_ptr_alignment ignore c_void 2018-04-24 11:37:51 -07:00
cast_alignment.stderr Make cast_ptr_alignment ignore c_void 2018-04-24 11:37:51 -07:00
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
checked_unwrap.rs fix a bunch of typos found by codespell 2018-07-25 20:02:52 +02:00
checked_unwrap.stderr Categorize the unwrap lints correctly. 2018-06-12 15:06:46 +02:00
clone_on_copy_impl.rs
clone_on_copy_mut.rs New Lint: Pass small trivially copyable objects by value 2018-06-15 16:53:34 +02:00
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
const_static_lifetime.rs
const_static_lifetime.stderr
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 Use the new scoped tool attributes 2018-05-19 14:04:57 +02:00
cyclomatic_complexity_attr_used.stderr
cyclomatic_complexity.rs Use the new scoped tool attributes 2018-05-19 14:04:57 +02:00
cyclomatic_complexity.stderr
decimal_literal_representation.rs
decimal_literal_representation.stderr Fix #2494 add suggestion for unreadable_literal 2018-03-03 12:25:20 -05:00
default_trait_access.rs Exclude generated code 2018-06-18 10:29:25 +01:00
default_trait_access.stderr Exclude generated code 2018-06-18 10:29:25 +01:00
default_trait_access.stdout Add default_trait_access lint 2018-06-14 09:11:46 +01:00
deprecated.rs Deprecate misaligned_transmute 2018-04-11 02:50:04 -07:00
deprecated.stderr Update test output to changes in rustc 2018-07-16 15:43:30 +02:00
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 Remove all mention and testing of #[plugin(clippy)] and warn if used 2018-05-11 13:20:39 +02:00
diverging_sub_expression.stderr
dlist.rs Rustup 2018-07-01 13:36:14 +02:00
dlist.stderr
doc.rs
doc.stderr
double_comparison.rs
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
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: Add check for subsec_micros 2018-06-12 08:25:10 +02:00
duration_subsec.stderr duration_subsec: Add check for subsec_micros 2018-06-12 08:25:10 +02:00
duration_subsec.stdout Add duration_subsec lint 2018-06-09 10:21:26 +02:00
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
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 Remove all mention and testing of #[plugin(clippy)] and warn if used 2018-05-11 13:20:39 +02:00
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 Remove all mention and testing of #[plugin(clippy)] and warn if used 2018-05-11 13:20:39 +02:00
escape_analysis.stderr
eta.rs New Lint: Pass small trivially copyable objects by value 2018-06-15 16:53:34 +02:00
eta.stderr
eval_order_dependence.rs
eval_order_dependence.stderr
excessive_precision.rs Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
excessive_precision.stderr Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02: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 Update to rustc master 2018-03-13 11:38:21 +01:00
for_loop.rs fix a bunch of typos found by codespell 2018-07-25 20:02:52 +02:00
for_loop.stderr Update to nightly 2018-05-28 2018-05-29 10:56:58 +02:00
format.rs Fix useless_format false negative 2018-04-12 08:21:03 +02:00
format.stderr Fix useless_format false negative 2018-04-12 08:21:03 +02:00
formatting.rs
formatting.stderr
functions.rs
functions.stderr
get_unwrap.rs
get_unwrap.stderr
identity_conversion.rs Fix #2971 2018-08-07 05:37:11 +02:00
identity_conversion.stderr Fix #2971 2018-08-07 05:37:11 +02:00
identity_op.rs
identity_op.stderr
if_let_redundant_pattern_matching.rs
if_let_redundant_pattern_matching.stderr
if_not_else.rs
if_not_else.stderr
impl.rs adding to pedantic a lint that check for multiple inherent implementations 2018-05-29 21:28:52 +02:00
impl.stderr adding to pedantic a lint that check for multiple inherent implementations 2018-05-29 21:28:52 +02:00
implicit_hasher.rs Fix some existing test expectations 2018-06-14 23:13:12 +01:00
implicit_hasher.stderr Update to nightly 2018-05-28 2018-05-29 10:56:58 +02:00
inconsistent_digit_grouping.rs
inconsistent_digit_grouping.stderr Fix #2494 add suggestion for unreadable_literal 2018-03-03 12:25:20 -05:00
indexing_slicing.rs Removing lint for constant usize array indexing 2018-06-19 21:30:43 +00:00
indexing_slicing.stderr Removing lint for constant usize array indexing 2018-06-19 21:30:43 +00:00
infallible_destructuring_match.rs rustup 2018-04-27 14:00:43 +02:00
infallible_destructuring_match.stderr Implement lint for destructuring tuple structs with a let and a match (closes #2671) 2018-04-24 17:56:13 +01:00
infinite_iter.rs Rustup 2018-08-07 16:34:17 +02:00
infinite_iter.stderr
infinite_loop.rs fix a bunch of typos found by codespell 2018-07-25 20:02:52 +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
inline_fn_without_body.stderr
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
issue_2356.stderr
item_after_statement.rs
item_after_statement.stderr
large_digit_groups.rs
large_digit_groups.stderr Update other tests 2018-05-28 14:43:44 +02:00
large_enum_variant.rs
large_enum_variant.stderr
len_zero.rs Update len_zero to handle comparisions with one 2018-05-06 23:54:05 +02:00
len_zero.stderr Update len_zero to handle comparisions with one 2018-05-06 23:54:05 +02:00
let_if_seq.rs
let_if_seq.stderr
let_return.rs
let_return.stderr
let_unit.rs
let_unit.stderr
lifetimes.rs Add notes for test examples. 2018-06-19 23:18:53 +08:00
lifetimes.stderr Add notes for test examples. 2018-06-19 23:18:53 +08:00
literals.rs Add tests 2018-05-28 14:23:06 +02:00
literals.stderr Update other tests 2018-05-28 14:43:44 +02:00
map_clone.rs
map_clone.stderr
map_unit_fn.stderr Rename option_map_unit_fn to map_unit_fn 2018-04-15 13:01:10 +02:00
match_bool.rs Split up match_bool UI tests 2018-04-07 10:23:27 +02:00
match_bool.stderr Split up match_bool UI tests 2018-04-07 10:23:27 +02:00
matches.rs Split up match_bool UI tests 2018-04-07 10:23:27 +02:00
matches.stderr Fix tests from 40349b23ea 2018-08-02 14:22:44 -07:00
mem_forget.rs
mem_forget.stderr
methods.rs Fix #2979 2018-08-02 08:56:53 +02:00
methods.stderr Move shadow_unrelated to pedantic 2018-08-14 09:52:27 +01:00
min_max.rs Fix #2741 2018-06-16 18:33:11 +02:00
min_max.stderr Fix #2741 2018-06-16 18:33:11 +02:00
missing_inline.rs do not apply lint to executable crate type 2018-07-04 16:39:52 +02:00
missing_inline.stderr add missing_inline lint 2018-07-04 13:50:39 +02:00
missing-doc.rs
missing-doc.stderr
module_inception.rs
module_inception.stderr
modulo_one.rs
modulo_one.stderr
mut_from_ref.rs New Lint: Pass small trivially copyable objects by value 2018-06-15 16:53:34 +02:00
mut_from_ref.stderr
mut_mut.rs Remove all mention and testing of #[plugin(clippy)] and warn if used 2018-05-11 13:20:39 +02:00
mut_mut.stderr
mut_range_bound.rs
mut_range_bound.stderr
mut_reference.rs New Lint: Pass small trivially copyable objects by value 2018-06-15 16:53:34 +02:00
mut_reference.stderr
mutex_atomic.rs
mutex_atomic.stderr
needless_bool.rs
needless_bool.stderr
needless_borrow.rs New Lint: Pass small trivially copyable objects by value 2018-06-15 16:53:34 +02:00
needless_borrow.stderr Move ref cow tests 2018-04-05 18:13:39 +02: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 Update to nightly 2018-05-28 2018-05-29 10:56:58 +02:00
needless_pass_by_value.stderr Update to nightly 2018-05-28 2018-05-29 10:56:58 +02:00
needless_range_loop.rs
needless_range_loop.stderr Update to nightly 2018-05-28 2018-05-29 10:56:58 +02:00
needless_return.rs
needless_return.stderr
needless_update.rs
needless_update.stderr
neg_cmp_op_on_partial_ord.rs Fix badly mangled lint message for neg-cmp-op-on-partial-ord 2018-06-29 16:55:31 +02:00
neg_cmp_op_on_partial_ord.stderr Fix badly mangled lint message for neg-cmp-op-on-partial-ord 2018-06-29 16:55:31 +02:00
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 Remove all mention and testing of #[plugin(clippy)] and warn if used 2018-05-11 13:20:39 +02:00
new_without_default.stderr
no_effect.rs Remove all mention and testing of #[plugin(clippy)] and warn if used 2018-05-11 13:20:39 +02:00
no_effect.stderr Rustup field -> method transition of ..= 2018-05-03 15:52:44 +02:00
non_copy_const.rs Lint against const items which are interior mutable. Fix #1560. 2018-06-23 03:35:36 +08:00
non_copy_const.stderr Lint against const items which are interior mutable. Fix #1560. 2018-06-23 03:35:36 +08:00
non_expressive_names.rs
non_expressive_names.stderr Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
ok_expect.rs
ok_expect.stderr
ok_if_let.rs
ok_if_let.stderr
op_ref.rs
op_ref.stderr Update to nightly 2018-05-28 2018-05-29 10:56:58 +02:00
open_options.rs
open_options.stderr
option_map_unit_fn.rs Rename option_map_unit_fn to map_unit_fn 2018-04-15 13:01:10 +02:00
option_map_unit_fn.stderr Rename option_map_unit_fn to map_unit_fn 2018-04-15 13:01:10 +02:00
option_option.rs
option_option.stderr
overflow_check_conditional.rs
overflow_check_conditional.stderr
panic_unimplemented.rs Fix note on macro outside current crate. Changed group to restricted 2018-05-24 19:38:40 +02:00
panic_unimplemented.stderr Fix note on macro outside current crate. Changed group to restricted 2018-05-24 19:38:40 +02:00
partialeq_ne_impl.rs
partialeq_ne_impl.stderr
patterns.rs
patterns.stderr
precedence.rs
precedence.stderr
print_literal.rs Fix regression in print_literal 2018-07-25 17:31:17 -04:00
print_literal.stderr And the ones annotating the source file name. 2018-07-25 18:00:19 -04: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 Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
print.rs New lints for write! / writeln! macros. 2018-04-07 22:45:26 -07:00
print.stderr Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
println_empty_string.rs fixing error message for empty println macro 2018-04-15 14:00:28 +02:00
println_empty_string.stderr Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
ptr_arg.rs Move ref cow tests 2018-04-05 18:13:39 +02:00
ptr_arg.stderr Move ref cow tests 2018-04-05 18:13:39 +02:00
question_mark.rs
question_mark.stderr
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-08-07 16:34:17 +02: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 field -> method transition of ..= 2018-05-03 15:52:44 +02:00
redundant_field_names.stderr Fix #3000 2018-08-06 08:20:50 +02:00
reference.rs
reference.stderr
regex.rs allow invalid UTF-8 in bytes Regexes 2018-04-07 22:18:51 +02:00
regex.stderr allow invalid UTF-8 in bytes Regexes 2018-04-07 22:18:51 +02:00
replace_consts.rs Removed stable feature flags 2018-05-28 10:03:27 +02:00
replace_consts.stderr Removed stable feature flags 2018-05-28 10:03:27 +02:00
result_map_unit_fn.rs rustup 2018-04-27 14:00:43 +02:00
result_map_unit_fn.stderr rustup 2018-04-27 14:00:43 +02: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 lint for escaped chars 2018-08-03 10:19:29 +02:00
single_char_pattern.stderr Fix single_char_pattern lint for escaped chars 2018-08-03 10:19:29 +02: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 BinOpKind 2018-07-16 11:46:37 +02: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 Use the new scoped tool attributes 2018-05-19 14:04:57 +02:00
trailing_zeros.stderr Use the new scoped tool attributes 2018-05-19 14:04:57 +02:00
trailing_zeros.stdout BinOpKind 2018-07-16 11:46:37 +02:00
transmute_32bit.rs
transmute_64bit.rs
transmute_64bit.stderr
transmute.rs Fix behavior with generic lifetime parameters 2018-05-29 09:18:49 -07:00
transmute.stderr Fix behavior with generic lifetime parameters 2018-05-29 09:18:49 -07:00
trivially_copy_pass_by_ref.rs Fix #3000 2018-08-06 08:20:50 +02:00
trivially_copy_pass_by_ref.stderr Allow pass by ref when returning ADT with ref 2018-08-02 17:57:49 +10:00
ty_fn_sig.rs
types_fn_to_int.rs Divide FN_TO_NUMERIC lint into two. 2018-06-01 23:08:11 +07:00
types_fn_to_int.stderr Divide FN_TO_NUMERIC lint into two. 2018-06-01 23:08:11 +07:00
types.rs
types.stderr
unicode.rs
unicode.stderr
unit_arg.rs
unit_arg.stderr
unit_cmp.rs
unit_cmp.stderr
unnecessary_clone.rs
unnecessary_clone.stderr Update test suite 2018-03-28 23:49:32 +02:00
unnecessary_fold.rs Move unnecessary_fold UI tests to separate file 2018-04-12 22:16:43 +02:00
unnecessary_fold.stderr Move unnecessary_fold UI tests to separate file 2018-04-12 22:16:43 +02:00
unnecessary_ref.rs Added lint for unnecessary references 2018-05-28 13:07:19 +02:00
unnecessary_ref.stderr Added lint for unnecessary references 2018-05-28 13:07:19 +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 Update other tests 2018-05-28 14:43:44 +02: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 New Lint: Pass small trivially copyable objects by value 2018-06-15 16:53:34 +02:00
unused_lt.stderr Rustup 2018-05-26 10:23:34 +02:00
unwrap_or.rs
unwrap_or.stderr Stop unwanted newlines being applied on unwrap_or 2018-02-21 11:29:08 -05:00
unwrap_or.stdout
update-all-references.sh
update-references.sh
use_self.rs Fix use_self regressions 2018-07-17 08:20:49 +02:00
use_self.stderr Fix use_self regressions 2018-07-17 08:20:49 +02:00
used_underscore_binding.rs
used_underscore_binding.stderr
useless_asref.rs Allow configuring the trivial copy size limit 2018-06-15 16:53:34 +02:00
useless_asref.stderr
useless_attribute.rs Skip useless_attribute lint on allow(unused_imports) on extern crate items with macro_use 2018-07-19 13:59:25 +02:00
useless_attribute.stderr
vec.rs
vec.stderr
while_loop.rs Fix ICE with 'while let (..) = x.iter()' 2018-07-29 11:00:26 +02:00
while_loop.stderr Fix ICE with 'while let (..) = x.iter()' 2018-07-29 11:00:26 +02:00
write_literal.rs Fix copy-paste error 2018-07-25 18:14:11 -04:00
write_literal.stderr And the ones annotating the source file name. 2018-07-25 18:00:19 -04:00
write_with_newline.rs New lints for write! / writeln! macros. 2018-04-07 22:45:26 -07:00
write_with_newline.stderr Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
writeln_empty_string.rs New lints for write! / writeln! macros. 2018-04-07 22:45:26 -07:00
writeln_empty_string.stderr Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
wrong_self_convention.rs New Lint: Pass small trivially copyable objects by value 2018-06-15 16:53:34 +02:00
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