rust/tests/ui
Michael Wright bbd67c9b78 Fix #2927
2018-08-15 08:11:07 +02: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
approx_const.rs
approx_const.stderr
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
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
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
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
collapsible_if.stderr
complex_types.rs
complex_types.stderr
const_static_lifetime.rs
const_static_lifetime.stderr
copies.rs
copies.stderr
cstring.rs
cstring.stderr
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
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
deprecated.stderr Update test output to changes in rustc 2018-07-16 15:43:30 +02:00
derive.rs
derive.stderr
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
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
empty_line_after_outer_attribute.stderr
entry.rs
entry.stderr
enum_glob_use.rs
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
eq_op.stderr
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
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
format.stderr
formatting.rs
formatting.stderr
functions.rs
functions.stderr
fxhash.rs Add an internal lint for FxHashMap/FxHashSet 2018-08-12 16:15:36 +01:00
fxhash.stderr Use utils::span_lint_and_sugg in default_hash_types 2018-08-13 11:49:57 +01:00
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
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
infallible_destructuring_match.stderr
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
inline_fn_without_body.rs
inline_fn_without_body.stderr
int_plus_one.rs
int_plus_one.stderr
invalid_ref.rs
invalid_ref.stderr
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
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 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
match_bool.rs
match_bool.stderr
matches.rs
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
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
never_loop.stderr
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
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 Fix #2927 2018-08-15 08:11:07 +02:00
non_expressive_names.stderr Fix #2927 2018-08-15 08:11: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
option_map_unit_fn.stderr
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 Allow print/write with multiple newlines 2018-08-07 12:01:10 -08:00
print_with_newline.stderr Allow print/write with multiple newlines 2018-08-07 12:01:10 -08:00
print.rs
print.stderr Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
println_empty_string.rs
println_empty_string.stderr Rewrite the print/write macro checks as a PreExpansionPass 2018-07-23 00:19:07 +02:00
ptr_arg.rs
ptr_arg.stderr
question_mark.rs
question_mark.stderr
range_plus_minus_one.rs
range_plus_minus_one.stderr
range.rs Rustup 2018-08-07 16:34:17 +02:00
range.stderr
redundant_closure_call.rs
redundant_closure_call.stderr
redundant_field_names.rs Add a test to ensure that #2799 is fixed 2018-08-14 07:27:56 +02:00
redundant_field_names.stderr Add a test to ensure that #2799 is fixed 2018-08-14 07:27:56 +02:00
reference.rs
reference.stderr
regex.rs
regex.stderr
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
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 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
single_match.stderr
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
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
unnecessary_fold.rs
unnecessary_fold.stderr
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
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
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 Allow print/write with multiple newlines 2018-08-07 12:01:10 -08:00
write_with_newline.stderr Allow print/write with multiple newlines 2018-08-07 12:01:10 -08:00
writeln_empty_string.rs
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
zero_ptr.rs
zero_ptr.stderr