rust/tests/ui
bors 5b8496603c Auto merge of #3640 - detrumi:nested_use_self, r=flip1995
Restrict `use_self` on nested items

Fixes #3637
Fixes #3463

These changes make it so that nested items aren't visited any more by the `use_self` lint.

I think visiting nested items should be possible (so that it uses a different `item_path` for the nested item), but I'm not sure whether it's viable and what the best approach would be.
- Can `item_path` be changed to a new `Self` path before visiting the item, and then changing it back afterwards?
- Alternatively, could a new visitor be created, re-using `check_trait_method_impl_decl`?
2019-01-07 18:54:28 +00:00
..
author Update *.stderr files 2018-12-28 12:41:12 +01:00
auxiliary Use compiletest's aux-build header instead of include macro 2019-01-02 22:48:44 +01:00
absurd-extreme-comparisons.rs rustfmt tests 2018-12-09 23:26:16 +01:00
absurd-extreme-comparisons.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
approx_const.rs rustfmt tests 2018-12-09 23:26:16 +01:00
approx_const.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
arithmetic.rs rustfmt tests 2018-12-09 23:26:16 +01:00
arithmetic.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
assign_ops2.rs rustfmt tests 2018-12-09 23:26:16 +01:00
assign_ops2.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
assign_ops.rs rustfmt tests 2018-12-09 23:26:16 +01:00
assign_ops.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
attrs.rs rustfmt tests 2018-12-09 23:26:16 +01:00
attrs.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
author.rs rustfmt tests 2018-12-09 23:26:16 +01:00
author.stdout
bit_masks.rs rustfmt tests 2018-12-09 23:26:16 +01:00
bit_masks.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
blacklisted_name.rs rustfmt tests 2018-12-09 23:26:16 +01:00
blacklisted_name.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
block_in_if_condition.rs rustfmt tests 2018-12-09 23:26:16 +01:00
block_in_if_condition.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
bool_comparison.rs Implements lint for order comparisons against bool 2018-12-16 21:43:32 -03:00
bool_comparison.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
booleans.rs rustfmt tests 2018-12-09 23:26:16 +01:00
booleans.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
borrow_box.rs rustfmt tests 2018-12-09 23:26:16 +01:00
borrow_box.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
box_vec.rs rustfmt tests 2018-12-09 23:26:16 +01:00
box_vec.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
builtin-type-shadow.rs fix breakage from rust-lang/rust#57088 2018-12-25 16:11:28 -05:00
builtin-type-shadow.stderr Fix test for rust-lang/rust#57250 2019-01-01 20:34:02 -05:00
bytecount.rs rustfmt tests 2018-12-09 23:26:16 +01:00
bytecount.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cast_alignment.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
cast_alignment.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cast_lossless_float.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
cast_lossless_float.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
cast_lossless_float.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
cast_lossless_integer.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
cast_lossless_integer.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
cast_lossless_integer.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
cast_ref_to_mut.rs cast_ref_to_mut lint 2019-01-07 14:37:28 +01:00
cast_ref_to_mut.stderr Move a hint to an error message in cast_ref_to_mut lint 2019-01-07 14:37:28 +01:00
cast_size.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cast_size.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cast.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
cast.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cfg_attr_rustfmt.rs Rename test files 2018-11-02 19:50:24 +01:00
cfg_attr_rustfmt.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
char_lit_as_u8.rs rustfmt tests 2018-12-09 23:26:16 +01:00
char_lit_as_u8.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
checked_unwrap.rs rustfmt tests 2018-12-09 23:26:16 +01:00
checked_unwrap.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
clone_on_copy_impl.rs rustfmt tests 2018-12-09 23:26:16 +01:00
clone_on_copy_mut.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cmp_nan.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cmp_nan.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cmp_null.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cmp_null.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cmp_owned.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cmp_owned.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
collapsible_if.rs rustfmt tests 2018-12-09 23:26:16 +01:00
collapsible_if.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
complex_types.rs rustfmt tests 2018-12-09 23:26:16 +01:00
complex_types.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
const_static_lifetime.rs rustfmt tests 2018-12-09 23:26:16 +01:00
const_static_lifetime.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
copies.rs UI test cleanup: Extract ifs_same_cond tests 2019-01-02 07:59:48 +01:00
copies.stderr UI test cleanup: Extract ifs_same_cond tests 2019-01-02 07:59:48 +01:00
copy_iterator.rs rustfmt tests 2018-12-09 23:26:16 +01:00
copy_iterator.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cstring.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cstring.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cyclomatic_complexity_attr_used.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cyclomatic_complexity_attr_used.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
cyclomatic_complexity.rs rustfmt tests 2018-12-09 23:26:16 +01:00
cyclomatic_complexity.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
decimal_literal_representation.rs test reformatting: revert more questionable changes done by rustfmt and add #[rustfmt::skip] 2018-12-11 20:50:55 +01:00
decimal_literal_representation.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
default_trait_access.rs rustfmt tests 2018-12-09 23:26:16 +01:00
default_trait_access.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
default_trait_access.stdout
deprecated.rs rustfmt tests 2018-12-09 23:26:16 +01:00
deprecated.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
derive.rs rustfmt tests 2018-12-09 23:26:16 +01:00
derive.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
diverging_sub_expression.rs rustfmt tests 2018-12-09 23:26:16 +01:00
diverging_sub_expression.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
dlist.rs rustfmt tests 2018-12-09 23:26:16 +01:00
dlist.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
doc.rs Fix doc_markdown mixed case false positive 2018-12-12 19:25:27 +01:00
doc.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
double_comparison.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
double_comparison.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
double_comparison.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
double_neg.rs rustfmt tests 2018-12-09 23:26:16 +01:00
double_neg.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
double_parens.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
double_parens.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
drop_forget_copy.rs rustfmt tests 2018-12-09 23:26:16 +01:00
drop_forget_copy.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
drop_forget_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
drop_forget_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
duplicate_underscore_argument.rs rustfmt tests 2018-12-09 23:26:16 +01:00
duplicate_underscore_argument.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
duration_subsec.rs rustfmt tests 2018-12-09 23:26:16 +01:00
duration_subsec.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
duration_subsec.stdout
else_if_without_else.rs rustfmt tests 2018-12-09 23:26:16 +01:00
else_if_without_else.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
empty_enum.rs rustfmt tests 2018-12-09 23:26:16 +01:00
empty_enum.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
empty_line_after_outer_attribute.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
empty_line_after_outer_attribute.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
entry.rs rustfmt tests 2018-12-09 23:26:16 +01:00
entry.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
enum_glob_use.rs rustfmt tests 2018-12-09 23:26:16 +01:00
enum_glob_use.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
enum_variants.rs fix breakage from rust-lang/rust#57088 2018-12-25 16:11:28 -05:00
enum_variants.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
enums_clike.rs rustfmt tests 2018-12-09 23:26:16 +01:00
enums_clike.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
eq_op.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
eq_op.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
erasing_op.rs rustfmt tests 2018-12-09 23:26:16 +01:00
erasing_op.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
escape_analysis.rs rustfmt tests 2018-12-09 23:26:16 +01:00
escape_analysis.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
eta.rs rustfmt tests 2018-12-09 23:26:16 +01:00
eta.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
eval_order_dependence.rs rustfmt tests 2018-12-09 23:26:16 +01:00
eval_order_dependence.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
excessive_precision.rs rustfmt tests 2018-12-09 23:26:16 +01:00
excessive_precision.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
expect_fun_call.rs rustfmt tests 2018-12-09 23:26:16 +01:00
expect_fun_call.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
explicit_counter_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
explicit_counter_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
explicit_write.rs Add suggestion for explicit_write lint 2018-12-12 07:31:01 +01:00
explicit_write.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
fallible_impl_from.rs rustfmt tests 2018-12-09 23:26:16 +01:00
fallible_impl_from.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
filter_methods.rs rustfmt tests 2018-12-09 23:26:16 +01:00
filter_methods.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
float_cmp_const.rs rustfmt tests 2018-12-09 23:26:16 +01:00
float_cmp_const.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
float_cmp.rs rustfmt tests 2018-12-09 23:26:16 +01:00
float_cmp.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
fn_to_numeric_cast.rs rustfmt tests 2018-12-09 23:26:16 +01:00
fn_to_numeric_cast.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
for_kv_map.rs Add ui/for_kv_map test for false positive in #1279 2019-01-03 19:07:21 +01:00
for_kv_map.stderr UI test cleanup: Extract for_kv_map lint tests 2019-01-02 07:42:04 +01:00
for_loop_over_option_result.rs UI test cleanup: Extract for_loop_over_x tests 2018-10-30 21:25:34 +01:00
for_loop_over_option_result.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
for_loop.rs UI test cleanup: Extract for_kv_map lint tests 2019-01-02 07:42:04 +01:00
for_loop.stderr UI test cleanup: Extract for_kv_map lint tests 2019-01-02 07:42:04 +01:00
for_loop.stdout
format.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
format.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
formatting.rs Teach suspicious_else_formatting about if .. {..} {..} 2018-12-20 22:45:37 -05:00
formatting.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
functions.rs rustfmt tests 2018-12-09 23:26:16 +01:00
functions.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
fxhash.rs rustfmt tests 2018-12-09 23:26:16 +01:00
fxhash.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
get_unwrap.fixed Update unwrap_get code review suggestions 2019-01-07 06:22:39 +02:00
get_unwrap.rs Update unwrap_get code review suggestions 2019-01-07 06:22:39 +02:00
get_unwrap.stderr Update unwrap_get code review suggestions 2019-01-07 06:22:39 +02:00
ice-2636.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ice-2636.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
identity_conversion.rs rustfmt tests 2018-12-09 23:26:16 +01:00
identity_conversion.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
identity_op.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
identity_op.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
if_not_else.rs rustfmt tests 2018-12-09 23:26:16 +01:00
if_not_else.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ifs_same_cond.rs UI test cleanup: Extract ifs_same_cond tests 2019-01-02 07:59:48 +01:00
ifs_same_cond.stderr UI test cleanup: Extract ifs_same_cond tests 2019-01-02 07:59:48 +01:00
impl.rs rustfmt tests 2018-12-09 23:26:16 +01:00
impl.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
implicit_hasher.rs test reformatting: revert more questionable changes done by rustfmt and add #[rustfmt::skip] 2018-12-11 20:50:55 +01:00
implicit_hasher.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
implicit_return.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
implicit_return.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
inconsistent_digit_grouping.rs rustfmt tests 2018-12-09 23:26:16 +01:00
inconsistent_digit_grouping.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
indexing_slicing.rs rustfmt tests 2018-12-09 23:26:16 +01:00
indexing_slicing.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
infallible_destructuring_match.rs rustfmt tests 2018-12-09 23:26:16 +01:00
infallible_destructuring_match.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
infinite_iter.rs Limit infinite_iter collect() check to known types 2018-12-31 13:38:31 +01:00
infinite_iter.stderr Limit infinite_iter collect() check to known types 2018-12-31 13:38:31 +01:00
infinite_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
infinite_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
inline_fn_without_body.rs rustfmt tests 2018-12-09 23:26:16 +01:00
inline_fn_without_body.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
int_plus_one.rs rustfmt tests 2018-12-09 23:26:16 +01:00
int_plus_one.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
into_iter_on_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
into_iter_on_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
invalid_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
invalid_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
invalid_upcast_comparisons.rs rustfmt tests 2018-12-09 23:26:16 +01:00
invalid_upcast_comparisons.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
issue_2356.rs rustfmt tests 2018-12-09 23:26:16 +01:00
issue_2356.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
issue-3145.rs rustfmt tests 2018-12-09 23:26:16 +01:00
issue-3145.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
item_after_statement.rs rustfmt tests 2018-12-09 23:26:16 +01:00
item_after_statement.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
iter_skip_next.rs Use compiletest's aux-build header instead of include macro 2019-01-02 22:48:44 +01:00
iter_skip_next.stderr Use compiletest's aux-build header instead of include macro 2019-01-02 22:48:44 +01:00
large_digit_groups.rs rustfmt tests 2018-12-09 23:26:16 +01:00
large_digit_groups.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
large_enum_variant.rs rustfmt tests 2018-12-09 23:26:16 +01:00
large_enum_variant.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
len_zero.rs rustfmt tests 2018-12-09 23:26:16 +01:00
len_zero.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
let_if_seq.rs rustfmt tests 2018-12-09 23:26:16 +01:00
let_if_seq.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
let_return.rs rustfmt tests 2018-12-09 23:26:16 +01:00
let_return.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
let_unit.rs rustfmt tests 2018-12-09 23:26:16 +01:00
let_unit.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
lifetimes.rs rustfmt tests 2018-12-09 23:26:16 +01:00
lifetimes.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
lint_without_lint_pass.rs rustfmt tests 2018-12-09 23:26:16 +01:00
lint_without_lint_pass.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
literals.rs Keep testing large_digit_groups as ui test 2018-12-01 17:23:53 -08:00
literals.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
map_clone.rs rustfmt tests 2018-12-09 23:26:16 +01:00
map_clone.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
map_flatten.rs rustfmt tests 2018-12-09 23:26:16 +01:00
map_flatten.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
map_unit_fn.rs test: panic at map_unit_fn.rs:202 for map() without args 2018-12-22 01:06:02 -05:00
match_bool.rs rustfmt tests 2018-12-09 23:26:16 +01:00
match_bool.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
match_overlapping_arm.rs rustfmt tests 2018-12-09 23:26:16 +01:00
match_overlapping_arm.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
matches.rs rustfmt tests 2018-12-09 23:26:16 +01:00
matches.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mem_discriminant.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mem_discriminant.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mem_forget.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mem_forget.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mem_replace.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mem_replace.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
methods.rs Use compiletest's aux-build header instead of include macro 2019-01-02 22:48:44 +01:00
methods.stderr Use compiletest's aux-build header instead of include macro 2019-01-02 22:48:44 +01:00
min_max.rs rustfmt tests 2018-12-09 23:26:16 +01:00
min_max.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
missing_inline.rs rustfmt tests 2018-12-09 23:26:16 +01:00
missing_inline.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
missing-doc.rs rustfmt tests 2018-12-09 23:26:16 +01:00
missing-doc.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
module_inception.rs rustfmt tests 2018-12-09 23:26:16 +01:00
module_inception.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
module_name_repetitions.rs Rename lint to MODULE_NAME_REPETITIONS 2018-12-17 14:29:19 +01:00
module_name_repetitions.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
modulo_one.rs rustfmt tests 2018-12-09 23:26:16 +01:00
modulo_one.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mut_from_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mut_from_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mut_mut.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mut_mut.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mut_range_bound.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mut_range_bound.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mut_reference.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mut_reference.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
mutex_atomic.rs rustfmt tests 2018-12-09 23:26:16 +01:00
mutex_atomic.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
my_lint.rs
needless_bool.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_bool.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_borrow.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_borrow.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_borrowed_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_borrowed_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_collect.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_collect.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_continue.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_continue.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_pass_by_value_proc_macro.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_pass_by_value.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_pass_by_value.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_range_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_range_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_return.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_return.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
needless_update.rs rustfmt tests 2018-12-09 23:26:16 +01:00
needless_update.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
neg_cmp_op_on_partial_ord.rs rustfmt tests 2018-12-09 23:26:16 +01:00
neg_cmp_op_on_partial_ord.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
neg_multiply.rs rustfmt tests 2018-12-09 23:26:16 +01:00
neg_multiply.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
never_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
never_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
new_ret_no_self.rs rustfmt tests 2018-12-09 23:26:16 +01:00
new_ret_no_self.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
new_without_default.rs Merge new_without_default_derive into new_without_default 2018-12-28 10:57:58 -07:00
new_without_default.stderr Merge new_without_default_derive into new_without_default 2018-12-28 10:57:58 -07:00
no_effect.rs Move constant write checks to temporary_assignment lint 2018-12-30 00:25:09 +01:00
no_effect.stderr Move constant write checks to temporary_assignment lint 2018-12-30 00:25:09 +01:00
non_copy_const.rs rustfmt tests 2018-12-09 23:26:16 +01:00
non_copy_const.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
non_expressive_names.rs rustfmt tests 2018-12-09 23:26:16 +01:00
non_expressive_names.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ok_expect.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ok_expect.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ok_if_let.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ok_if_let.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
op_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
op_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
open_options.rs rustfmt tests 2018-12-09 23:26:16 +01:00
open_options.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
option_map_unit_fn.rs tests: fix more cases where rustfmt would have hurt the tests 2018-12-11 01:31:04 +01:00
option_map_unit_fn.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
option_option.rs rustfmt tests 2018-12-09 23:26:16 +01:00
option_option.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
overflow_check_conditional.rs rustfmt tests 2018-12-09 23:26:16 +01:00
overflow_check_conditional.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
panic_unimplemented.rs rustfmt tests 2018-12-09 23:26:16 +01:00
panic_unimplemented.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
partialeq_ne_impl.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
partialeq_ne_impl.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
patterns.rs rustfmt tests 2018-12-09 23:26:16 +01:00
patterns.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
precedence.rs rustfmt tests 2018-12-09 23:26:16 +01:00
precedence.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
print_literal.rs rustfmt tests 2018-12-09 23:26:16 +01:00
print_literal.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
print_with_newline.rs rustfmt tests 2018-12-09 23:26:16 +01:00
print_with_newline.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
print.rs rustfmt tests 2018-12-09 23:26:16 +01:00
print.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
println_empty_string.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
println_empty_string.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
println_empty_string.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
ptr_arg.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ptr_arg.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ptr_offset_with_cast.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
ptr_offset_with_cast.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
ptr_offset_with_cast.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
question_mark.rs Fix formatting 2018-12-28 20:52:46 +01:00
question_mark.stderr Merge remote-tracking branch 'upstream/master' 2018-12-28 20:19:51 +01:00
range_plus_minus_one.rs rustfmt tests 2018-12-09 23:26:16 +01:00
range_plus_minus_one.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
range.rs rustfmt tests 2018-12-09 23:26:16 +01:00
range.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
redundant_clone.rs Merge branch 'master' into rustfmt_tests 2018-12-11 01:42:38 +01:00
redundant_clone.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
redundant_closure_call.rs rustfmt tests 2018-12-09 23:26:16 +01:00
redundant_closure_call.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
redundant_field_names.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
redundant_field_names.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
redundant_pattern_matching.rs rustfmt tests 2018-12-09 23:26:16 +01:00
redundant_pattern_matching.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
reference.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
reference.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
regex.rs rustfmt tests 2018-12-09 23:26:16 +01:00
regex.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
rename.rs Merge new_without_default_derive into new_without_default 2018-12-28 10:57:58 -07:00
rename.stderr Merge new_without_default_derive into new_without_default 2018-12-28 10:57:58 -07:00
replace_consts.rs rustfmt tests 2018-12-09 23:26:16 +01:00
replace_consts.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
result_map_unit_fn.rs tests: fix more cases where rustfmt would have hurt the tests 2018-12-11 01:31:04 +01:00
result_map_unit_fn.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
result_map_unwrap_or_else.rs Use compiletest's aux-build header instead of include macro 2019-01-02 22:48:44 +01:00
result_map_unwrap_or_else.stderr Use compiletest's aux-build header instead of include macro 2019-01-02 22:48:44 +01:00
serde.rs rustfmt tests 2018-12-09 23:26:16 +01:00
serde.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
shadow.rs rustfmt tests 2018-12-09 23:26:16 +01:00
shadow.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
short_circuit_statement.rs rustfmt tests 2018-12-09 23:26:16 +01:00
short_circuit_statement.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
single_char_pattern.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
single_char_pattern.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
single_char_pattern.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
single_match_else.rs rustfmt tests 2018-12-09 23:26:16 +01:00
single_match_else.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
single_match.rs rustfmt tests 2018-12-09 23:26:16 +01:00
single_match.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
slow_vector_initialization.rs rustfmt tests 2018-12-09 23:26:16 +01:00
slow_vector_initialization.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
slow_vector_initialization.stdout Add slow zero-filled vector initialization lint 2018-11-25 14:34:23 -08:00
starts_ends_with.rs rustfmt tests 2018-12-09 23:26:16 +01:00
starts_ends_with.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
string_extend.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
string_extend.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
string_extend.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
strings.rs rustfmt tests 2018-12-09 23:26:16 +01:00
strings.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
suspicious_arithmetic_impl.rs rustfmt tests 2018-12-09 23:26:16 +01:00
suspicious_arithmetic_impl.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
swap.rs test reformatting: revert more questionable changes done by rustfmt and add #[rustfmt::skip] 2018-12-11 20:50:55 +01:00
swap.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
temporary_assignment.rs Move constant write checks to temporary_assignment lint 2018-12-30 00:25:09 +01:00
temporary_assignment.stderr Move constant write checks to temporary_assignment lint 2018-12-30 00:25:09 +01:00
toplevel_ref_arg.rs rustfmt tests 2018-12-09 23:26:16 +01:00
toplevel_ref_arg.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
trailing_zeros.rs rustfmt tests 2018-12-09 23:26:16 +01:00
trailing_zeros.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
trailing_zeros.stdout
transmute_32bit.rs rustfmt tests 2018-12-09 23:26:16 +01:00
transmute_64bit.rs rustfmt tests 2018-12-09 23:26:16 +01:00
transmute_64bit.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
transmute.rs rustfmt tests 2018-12-09 23:26:16 +01:00
transmute.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
trivially_copy_pass_by_ref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
trivially_copy_pass_by_ref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
ty_fn_sig.rs rustfmt tests 2018-12-09 23:26:16 +01:00
ty_fn_sig.stderr
types.rs rustfmt tests 2018-12-09 23:26:16 +01:00
types.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unicode.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unicode.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unit_arg.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unit_arg.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unit_cmp.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unit_cmp.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unknown_clippy_lints.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unknown_clippy_lints.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_clone.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_clone.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_filter_map.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_filter_map.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_fold.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_fold.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_operation.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unnecessary_operation.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unnecessary_ref.fixed Fix suggestion for unnecessary_ref lint 2018-12-28 20:54:29 +01:00
unnecessary_ref.rs Fix suggestion for unnecessary_ref lint 2018-12-28 20:54:29 +01:00
unnecessary_ref.stderr Fix suggestion for unnecessary_ref lint 2018-12-28 20:54:29 +01:00
unneeded_field_pattern.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unneeded_field_pattern.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unreadable_literal.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
unreadable_literal.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
unreadable_literal.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
unsafe_removed_from_name.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unsafe_removed_from_name.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unused_io_amount.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
unused_io_amount.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unused_labels.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unused_labels.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unused_lt.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unused_lt.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unused_unit.rs add rustfmt::skip attributes to some tests 2018-12-09 17:21:49 +01:00
unused_unit.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unwrap_or.rs rustfmt tests 2018-12-09 23:26:16 +01:00
unwrap_or.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
unwrap_or.stdout
update-all-references.sh
update-references.sh Update .fixed files via update-references.sh 2018-12-28 20:53:44 +01:00
use_self.rs Rustftmt 2019-01-07 14:38:01 +01:00
use_self.stderr Rustftmt 2019-01-07 14:38:01 +01:00
used_underscore_binding.rs rustfmt tests 2018-12-09 23:26:16 +01:00
used_underscore_binding.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
useful_asref.rs Do not mark as_ref as useless if it's followed by a method call 2018-12-17 21:33:50 +01:00
useless_asref.rs rustfmt tests 2018-12-09 23:26:16 +01:00
useless_asref.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
useless_attribute.rs tests: revert some changs and add further rustfmt::skip attributes. 2018-12-11 00:59:59 +01:00
useless_attribute.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
vec_box_sized.rs tests: fix formatting and update test output 2018-12-27 17:03:53 +01:00
vec_box_sized.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
vec.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
vec.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
vec.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
while_loop.rs rustfmt tests 2018-12-09 23:26:16 +01:00
while_loop.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
write_literal.rs rustfmt tests 2018-12-09 23:26:16 +01:00
write_literal.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
write_with_newline.rs Merge branch 'master' into fix-3514 2018-12-14 07:16:26 +02:00
write_with_newline.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
writeln_empty_string.fixed Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
writeln_empty_string.rs Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
writeln_empty_string.stderr Add run-rustfix where it already passes 2019-01-04 11:22:38 +01:00
wrong_self_convention.rs rustfmt tests 2018-12-09 23:26:16 +01:00
wrong_self_convention.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
zero_div_zero.rs rustfmt tests 2018-12-09 23:26:16 +01:00
zero_div_zero.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00
zero_ptr.rs rustfmt tests 2018-12-09 23:26:16 +01:00
zero_ptr.stderr Update *.stderr files 2018-12-28 12:41:12 +01:00