rust/tests/target
Caleb Jones fa242a5cd6 Fix #1858 - "Don't erase a use with attributes attached"
This prevents code like

    #[cfg(unix)]
    pub use self::unix::{};

from becoming

    #[cfg(unix)]

which would cause the attribute to be attached to the next item.
2017-08-06 19:53:57 -04:00
..
nested_skipped Reformat tests 2017-06-13 14:42:54 +12:00
nestedmod Update tests 2017-07-13 18:43:35 +09:00
assignment.rs Reformat tests 2017-06-13 14:42:54 +12:00
associated_type_defaults.rs Allow default associated types 2017-05-26 17:17:12 +09:00
associated-items.rs
attrib-extern-crate.rs
attrib.rs Update tests 2017-07-25 00:56:09 +09:00
big-impl-rfc.rs Update tests 2017-06-18 02:16:27 +09:00
big-impl.rs Rebasing 2017-06-13 14:49:47 +12:00
break-and-continue.rs
catch.rs Implement catch 2017-06-06 07:32:06 +02:00
chains-indent-tabbed.rs
chains-indent-visual.rs
chains-visual.rs Format source codes and update tests 2017-07-26 17:43:17 +09:00
chains.rs Format source codes and update tests 2017-07-21 17:57:31 +09:00
closure-block-inside-macro.rs Format source codes and add tests 2017-05-26 16:40:19 +09:00
closure.rs Disallow overflowing closure if there are multiple closures in args 2017-06-19 12:07:20 +09:00
comment2.rs
comment3.rs
comment4.rs Update tests 2017-07-25 00:56:09 +09:00
comment5.rs Allow longer custom comment 2017-05-30 08:46:25 +09:00
comment_crlf_newline.rs
comment-inside-const.rs Use recover_comment_removed in rewrite_static 2017-06-04 18:44:08 +09:00
comment-not-disappear.rs
comment.rs Update tests 2017-07-06 01:19:31 +09:00
comments-fn.rs Cover missing comments before and after where 2017-07-10 14:38:16 +09:00
configs-array_horizontal_layout_threshold-1000.rs Add array_horizontal_layout_threshold option 2017-07-06 01:19:36 +09:00
configs-array_layout-block.rs
configs-array_layout-visual.rs
configs-array_width-above.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-array_width-below.rs
configs-chain_indent-block.rs
configs-chain_indent-visual.rs
configs-chain_one_line_max-above.rs
configs-chain_one_line_max-below.rs
configs-chain_split_single_child-false.rs Add chain_split_single_child option 2017-05-25 16:07:56 +09:00
configs-chain_split_single_child-true.rs Format source codes 2017-06-16 08:49:49 +09:00
configs-closure_block_indent_threshold-2.rs
configs-closure_block_indent_threshold-10.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-closure_block_indent_threshold--1.rs Use correct one line budget in rewrite_closure_block 2017-06-28 10:56:29 +09:00
configs-combine_control_expr-false.rs Set combine_control_expr to false by default and true in rfc-rustfmt 2017-06-05 15:31:44 +09:00
configs-combine_control_expr-true.rs Set combine_control_expr to false by default and true in rfc-rustfmt 2017-06-05 15:31:44 +09:00
configs-comment_width-above.rs
configs-comment_width-below.rs
configs-comment_width-ignore.rs
configs-condense_wildcard_suffices-false.rs config: fix suffices -> suffixes typo 2017-05-18 08:03:47 -04:00
configs-condense_wildcard_suffices-true.rs config: fix suffices -> suffixes typo 2017-05-18 08:03:47 -04:00
configs-control_brace_style-always_next_line.rs Modify control_brace_sytle test to ensure match braces are formatted correctly. 2017-06-19 08:12:15 -07:00
configs-control_brace_style-always_same_line.rs Modify control_brace_sytle test to ensure match braces are formatted correctly. 2017-06-19 08:12:15 -07:00
configs-control_brace_style-closing_next_line.rs Modify control_brace_sytle test to ensure match braces are formatted correctly. 2017-06-19 08:12:15 -07:00
configs-control_style-rfc.rs Format source codes and update tests 2017-07-26 16:30:58 +09:00
configs-disable_all_formatting-false.rs
configs-disable_all_formatting-true.rs
configs-error_on_line_overflow-false.rs
configs-fn_args_density-compressed_if_empty.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_args_density-compressed.rs Add trailing comma when using Mixed indent style with newline 2017-07-13 20:32:46 +09:00
configs-fn_args_density-tall.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_args_density-vertical.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_args_layout-block.rs Update tests 2017-06-14 09:30:04 +09:00
configs-fn_args_layout-visual.rs
configs-fn_args_paren_newline-false.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_args_paren_newline-true.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_brace_style-always_next_line.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_brace_style-prefer_same_line.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_brace_style-same_line_where.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_call_style-block-tab_spaces-2.rs Add tests for issues which can be closed on the current master 2017-05-28 13:24:05 +09:00
configs-fn_call_style-block-trailing-comma.rs Use block indent for args if single line args exceeds max width 2017-06-12 15:58:27 +09:00
configs-fn_call_style-block.rs Do not add trailing comma inside macro invocation unless there already is 2017-06-23 13:43:43 +09:00
configs-fn_call_style-visual-trailing-comma.rs
configs-fn_call_style-visual.rs
configs-fn_call_width-above.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_call_width-below.rs
configs-fn_call_width-zero.rs
configs-fn_empty_single_line-false.rs
configs-fn_empty_single_line-true.rs
configs-fn_return_indent-with_args.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_return_indent-with_where_clause.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-fn_single_line-false.rs
configs-fn_single_line-true.rs
configs-force_explicit_abi-false.rs
configs-force_explicit_abi-true.rs
configs-force_format_strings-false.rs
configs-force_format_strings-true.rs Update tests 2017-06-17 16:57:00 +09:00
configs-format_strings-false.rs
configs-format_strings-true.rs Update tests 2017-06-17 16:57:00 +09:00
configs-generics_indent-block.rs Rebasing 2017-06-13 14:49:47 +12:00
configs-generics_indent-visual.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-hard_tabs-false.rs
configs-hard_tabs-true.rs
configs-impl_empty_single_line-false.rs
configs-impl_empty_single_line-true.rs
configs-imports_indent-block.rs Add imports_indent and imports_layout config options 2017-07-14 09:18:28 +09:00
configs-imports_layout-horizontal_vertical.rs Add imports_indent and imports_layout config options 2017-07-14 09:18:28 +09:00
configs-imports_layout-mixed.rs Add imports_indent and imports_layout config options 2017-07-14 09:18:28 +09:00
configs-indent_match_arms-false.rs
configs-indent_match_arms-true.rs
configs-item_brace_style-always_next_line.rs Update tests 2017-07-21 13:55:34 +09:00
configs-item_brace_style-prefer_same_line.rs Update tests 2017-07-21 13:55:34 +09:00
configs-item_brace_style-same_line_where.rs Update tests 2017-07-21 13:55:34 +09:00
configs-match_block_trailing_comma-false.rs
configs-match_block_trailing_comma-true.rs
configs-normalize_comments-false.rs Allow longer custom comment 2017-05-30 08:46:25 +09:00
configs-normalize_comments-true.rs Allow longer custom comment 2017-05-30 08:46:25 +09:00
configs-reorder_imported_names-false.rs
configs-reorder_imported_names-true.rs
configs-reorder_imports_in_group-false.rs reorder imports in group 2017-05-18 13:26:34 +08:00
configs-reorder_imports_in_group-true.rs reorder imports in group 2017-05-18 13:26:34 +08:00
configs-reorder_imports-false.rs
configs-reorder_imports-true.rs
configs-single_line_if_else_max_width-above.rs
configs-single_line_if_else_max_width-below.rs
configs-space_after_bound_colon-false.rs
configs-space_after_bound_colon-true.rs
configs-space_after_struct_lit_field_colon-false.rs Add config options for spaces around the colon in struct literal fields 2017-06-06 03:50:58 +02:00
configs-space_after_struct_lit_field_colon-true.rs Add config options for spaces around the colon in struct literal fields 2017-06-06 03:50:58 +02:00
configs-space_after_type_annotation_colon-false.rs
configs-space_after_type_annotation_colon-true.rs
configs-space_before_bound-false.rs
configs-space_before_bound-true.rs
configs-space_before_struct_lit_field_colon-false.rs Add config options for spaces around the colon in struct literal fields 2017-06-06 03:50:58 +02:00
configs-space_before_struct_lit_field_colon-true.rs Add config options for spaces around the colon in struct literal fields 2017-06-06 03:50:58 +02:00
configs-space_before_type_annotation-false.rs
configs-space_before_type_annotation-true.rs
configs-spaces_around_ranges-false.rs
configs-spaces_around_ranges-true.rs
configs-spaces_within_angle_brackets-false.rs
configs-spaces_within_angle_brackets-true.rs
configs-spaces_within_parens-false.rs
configs-spaces_within_parens-true.rs
configs-spaces_within_square_brackets-false.rs
configs-spaces_within_square_brackets-true.rs
configs-struct_field_align_threshold-20.rs Update tests 2017-07-07 09:04:06 +09:00
configs-struct_lit_multiline_style-force_multi.rs
configs-struct_lit_multiline_style-prefer_single.rs
configs-struct_lit_style-block.rs
configs-struct_lit_style-visual.rs Add visual offset when using struct_lit_style is Visual 2017-06-10 22:20:11 +09:00
configs-struct_lit_width-above.rs
configs-struct_lit_width-below.rs
configs-struct_variant_width-0.rs Force vertical layout when struct_variant_width is 0 2017-07-25 15:19:09 +09:00
configs-struct_variant_width-above.rs
configs-struct_variant_width-below.rs
configs-tab_spaces-2.rs
configs-tab_spaces-4.rs
configs-trailing_comma-always.rs
configs-trailing_comma-never.rs Apply config.trailing_comma wherever possible 2017-06-19 16:00:04 +09:00
configs-trailing_comma-vertical.rs
configs-trailing_semicolon-false.rs Add trailing_semicolon config option 2017-07-12 14:16:06 +09:00
configs-trailing_semicolon-true.rs Add trailing_semicolon config option 2017-07-12 14:16:06 +09:00
configs-type_punctuation_density-compressed.rs
configs-type_punctuation_density-wide.rs
configs-use_try_shorthand-false.rs
configs-use_try_shorthand-true.rs
configs-where_density-compressed_if_empty.rs Update tests 2017-08-01 22:27:12 +09:00
configs-where_density-compressed.rs Update tests 2017-08-01 22:27:12 +09:00
configs-where_density-tall.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-where_density-vertical.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-where_layout-horizontal_vertical.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-where_layout-horizontal.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-where_layout-mixed.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-where_layout-vertical.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-where_pred_indent-block.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-where_pred_indent-visual.rs Reformat tests 2017-06-13 14:42:54 +12:00
configs-where_style-default.rs Rename the Style::Default option to Legacy 2017-06-02 11:44:38 +12:00
configs-where_style-rfc.rs
configs-wrap_comments-false.rs
configs-wrap_comments-true.rs
configs-wrap_match_arms-false.rs Update wrap_match_arms option tests and visual guide 2017-07-11 21:53:57 +09:00
configs-wrap_match_arms-true.rs Update wrap_match_arms option tests and visual guide 2017-07-11 21:53:57 +09:00
control-brace-style-always-next-line.rs
control-brace-style-always-same-line.rs
disable_all_formatting.rs
doc.rs
else-if-brace-style-always-next-line.rs
else-if-brace-style-always-same-line.rs
else-if-brace-style-closing-next-line.rs
empty_file.rs
empty-tuple-no-conversion-to-unit-struct.rs
enum.rs Update tests 2017-07-25 18:51:29 +09:00
expr-block.rs Update tests 2017-07-11 21:53:48 +09:00
expr-no-hints.rs
expr.rs Merge pull request #1822 from topecongiro/issue-1172 2017-07-27 11:15:53 +12:00
extern_not_explicit.rs Update tests 2017-06-18 02:16:27 +09:00
extern.rs Remove whitespace between extern crate declaration 2017-07-29 12:03:57 +02:00
file-lines-1.rs Restore comments in file-liens tests 2017-07-25 15:47:44 +09:00
file-lines-2.rs Restore comments in file-liens tests 2017-07-25 15:47:44 +09:00
file-lines-3.rs Restore comments in file-liens tests 2017-07-25 15:47:44 +09:00
file-lines-4.rs Restore comments in file-liens tests 2017-07-25 15:47:44 +09:00
file-lines-5.rs
file-lines-6.rs
file-lines-item.rs visitor: Only reorder imports if at least one of them is in file-lines. 2017-07-31 09:14:58 +01:00
fn_args_density-vertical.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn_args_layout-block.rs Update tests 2017-08-01 22:27:12 +09:00
fn_once.rs
fn-args-with-last-line-comment.rs Update tests 2017-07-07 09:04:06 +09:00
fn-custom-2.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn-custom-3.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn-custom-4.rs Update tests 2017-08-01 22:27:12 +09:00
fn-custom-6.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn-custom-7.rs
fn-custom-8.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn-custom.rs Add trailing comma when using Mixed indent style with newline 2017-07-13 20:32:46 +09:00
fn-simple.rs Add trailing comma when using Mixed indent style with newline 2017-07-13 20:32:46 +09:00
fn-single-line.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn-ty.rs Reformat tests 2017-06-13 14:42:54 +12:00
fn.rs Update tests 2017-06-18 02:16:27 +09:00
hard-tabs.rs Add trailing comma when using Mixed indent style with newline 2017-07-13 20:32:46 +09:00
hello.rs
impl.rs Format defaultness 2017-07-27 09:43:35 +09:00
impls.rs Reformat tests 2017-06-13 14:42:54 +12:00
import-fencepost-length.rs
imports-reorder-lines-and-items.rs
imports-reorder-lines.rs Update tests 2017-07-13 18:43:35 +09:00
imports-reorder.rs Update tests 2017-07-13 18:43:35 +09:00
imports.rs Fix #1858 - "Don't erase a use with attributes attached" 2017-08-06 19:53:57 -04:00
indent_match_arms.rs Update tests 2017-07-11 21:53:48 +09:00
indented-impl.rs Update tests 2017-07-21 13:55:34 +09:00
issue-64.rs
issue-447.rs
issue-510.rs Rebasing 2017-06-13 14:49:47 +12:00
issue-691.rs Use different style when rewriting comment with different opener 2017-05-29 11:28:48 +09:00
issue-770.rs
issue-811.rs
issue-831.rs Format source codes and update tests 2017-07-21 17:57:31 +09:00
issue-850.rs
issue-855.rs Format source codes 2017-07-03 18:54:26 +09:00
issue-913.rs Update tests 2017-06-15 16:55:31 +09:00
issue-945.rs
issue-977.rs
issue-1021.rs Update tests 2017-06-15 16:55:31 +09:00
issue-1049.rs Reformat tests 2017-06-13 14:42:54 +12:00
issue-1055.rs
issue-1111.rs
issue-1113.rs Preserve the layout of comment after return type 2017-06-04 06:59:55 +09:00
issue-1120.rs
issue-1124.rs
issue-1127.rs
issue-1158.rs
issue-1177.rs
issue-1192.rs
issue-1214.rs Add tests for issues which can be closed on the current master 2017-05-28 13:24:05 +09:00
issue-1216.rs
issue-1239.rs Use offset_left instead of shrink_left 2017-07-20 00:41:36 +09:00
issue-1247.rs Reformat tests 2017-06-13 14:42:54 +12:00
issue-1255.rs
issue-1278.rs Add tests for issues which can be closed on the current master 2017-05-28 13:24:05 +09:00
issue-1350.rs Update tests 2017-07-11 21:53:48 +09:00
issue-1366.rs Reformat tests 2017-06-13 14:42:54 +12:00
issue-1397.rs Format source codes 2017-07-03 18:54:26 +09:00
issue-1468.rs Reformat tests 2017-06-13 14:42:54 +12:00
issue-1598.rs Fix index bug in write_snippet_inner 2017-05-30 10:53:48 +09:00
issue-1624.rs Organize vertical layout of function definition 2017-06-03 23:18:39 +09:00
issue-1681.rs Add and remove comments 2017-06-16 08:28:12 +09:00
issue-1693.rs Use correct indentaion for vec! with semicolon 2017-06-16 13:57:37 +09:00
issue-1703.rs Preserve comments inside attributes 2017-06-17 05:44:54 +09:00
issue-1800.rs Update tests 2017-07-25 00:56:09 +09:00
issue-1802.rs Consider max_width when rewriting struct in single-line 2017-07-21 07:17:49 +09:00
issue-1824.rs Use correct BytePos for where when rewriting trait 2017-07-27 14:21:14 +09:00
item-brace-style-always-next-line.rs Update tests 2017-07-21 13:55:34 +09:00
item-brace-style-prefer-same-line.rs Reformat tests 2017-06-13 14:42:54 +12:00
item-brace-style-same-line-where.rs Reformat tests 2017-06-13 14:42:54 +12:00
large_vec.rs Reformat tests 2017-06-13 14:42:54 +12:00
large-block.rs
long_field_access.rs Format source codes 2017-07-05 18:31:37 +09:00
long-fn-1.rs Update tests 2017-08-01 22:27:12 +09:00
long-match-arms-brace-newline.rs Format source codes and update tests 2017-07-20 00:42:00 +09:00
loop.rs Format source codes and update tests 2017-07-26 16:30:58 +09:00
macro_not_expr.rs
macros.rs Format source codes and update tests 2017-07-20 00:42:00 +09:00
match-block-trailing-comma.rs Reformat tests 2017-06-13 14:42:54 +12:00
match-nowrap-trailing-comma.rs Reformat tests 2017-06-13 14:42:54 +12:00
match-nowrap.rs Update wrap_match_arms option tests and visual guide 2017-07-11 21:53:57 +09:00
match.rs Update tests 2017-08-05 15:24:20 +09:00
max-line-length-in-chars.rs
mod_skip_child.rs
mod-1.rs Reformat tests 2017-06-13 14:42:54 +12:00
mod-2.rs
mulit-file.rs
multiple.rs Update tests 2017-08-01 22:27:12 +09:00
nested-if-else.rs Reformat tests 2017-06-13 14:42:54 +12:00
nested-visual-block.rs Update tests 2017-07-11 21:53:48 +09:00
no_new_line_beginning.rs
other.rs
paths.rs Format source codes 2017-07-05 18:12:43 +09:00
pattern-condense-wildcards.rs Update tests 2017-06-15 16:55:31 +09:00
pattern.rs Update tests 2017-06-15 16:55:31 +09:00
pub-restricted.rs Fix the pub-restricted tests 2017-06-06 07:32:07 +02:00
single-line-if-else.rs
skip.rs Update tests 2017-07-22 11:18:59 +09:00
space-before-bound.rs Reformat tests 2017-06-13 14:42:54 +12:00
space-before-type-annotation.rs Add config options for spaces around the colon in struct literal fields 2017-06-06 03:50:58 +02:00
space-not-after-type-annotation-colon.rs Add config options for spaces around the colon in struct literal fields 2017-06-06 03:50:58 +02:00
space-not-before-bound-colon.rs
space-not-before-newline.rs
spaces-around-ranges.rs
spaces-within-angle-brackets.rs Reformat tests 2017-06-13 14:42:54 +12:00
spaces-within-parens.rs
spaces-within-square-brackets.rs Reformat tests 2017-06-13 14:42:54 +12:00
static.rs Format source codes 2017-07-05 18:31:37 +09:00
string_punctuation.rs Reformat tests 2017-06-13 14:42:54 +12:00
string-lit-2.rs
string-lit-custom.rs
string-lit.rs Rebasing 2017-06-13 14:49:47 +12:00
struct_lits_multiline.rs Reformat tests 2017-06-13 14:42:54 +12:00
struct_lits_visual_multiline.rs
struct_lits_visual.rs
struct_lits.rs Format source codes 2017-07-03 18:54:26 +09:00
struct_tuple_visual.rs Format source codes 2017-07-05 18:12:43 +09:00
struct-field-attributes.rs Implement Rewrite trait for syntax::ast::Attribute 2017-06-06 13:55:34 +09:00
structs.rs Update tests 2017-07-25 18:51:29 +09:00
trailing_commas.rs Update tests 2017-08-02 23:28:52 +09:00
trailing-comma-never.rs
trait.rs Merge pull request #1831 from topecongiro/trait-associated-type-with-default 2017-07-29 12:31:36 +12:00
try-conversion.rs Reformat tests 2017-06-13 14:42:54 +12:00
tuple.rs Update tests 2017-07-06 01:19:31 +09:00
type_alias.rs Update tests 2017-08-02 23:28:52 +09:00
type-ascription.rs Format source codes 2017-07-05 18:31:37 +09:00
type-punctuation.rs Reformat tests 2017-06-13 14:42:54 +12:00
type.rs Add trailing comma when using Mixed indent style with newline 2017-07-13 20:32:46 +09:00
unindent_if_else_cond_comment.rs Unindent comment on top of else 2017-06-02 11:58:58 +09:00
unions.rs Format union 2017-07-10 17:26:55 +09:00
where-clause-rfc.rs Use correct BytePos for where when rewriting trait 2017-07-27 14:21:14 +09:00
where-clause.rs Reformat tests 2017-06-13 14:42:54 +12:00