rust/tests/source
2017-10-17 00:12:22 +09:00
..
nested_skipped
nestedmod
assignment.rs Update tests 2017-10-01 21:21:20 +09:00
associated-types-bounds-wrapping.rs Fix wrapping of bounds in associated types 2017-08-19 15:30:53 -07:00
attrib.rs Format long derive 2017-09-03 08:14:00 +09:00
big-impl-rfc.rs Update tests 2017-06-18 02:16:27 +09:00
big-impl.rs Update tests 2017-06-11 23:27:02 +09: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
chains.rs Allow extending a chain after raw string literal 2017-06-19 22:06:08 +09:00
closure.rs Add a test for #2063 2017-10-17 00:12:22 +09:00
comment2.rs
comment3.rs
comment4.rs Use the last line's width for indent width in rewriting missed span 2017-09-05 16:54:02 +09:00
comment5.rs Allow longer custom comment 2017-05-30 08:46:25 +09:00
comment_crlf_newline.rs
comment.rs Use the last line's width for indent width in rewriting missed span 2017-09-05 16:54:02 +09:00
configs-array_horizontal_layout_threshold-1000-visual.rs Obey to array_layout when using mixed tactic for array 2017-08-15 22:10:39 +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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-array_layout-visual.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-array_width-above.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-array_width-below.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-attributes_on_same_line_as_field-false.rs Take attributes_on_same_line_as_field into account 2017-09-04 16:15:32 +09:00
configs-attributes_on_same_line_as_field-true.rs Add attributes_on_same_line_as_{field,variant} 2017-08-19 15:09:10 -07:00
configs-attributes_on_same_line_as_variant-false.rs Add attributes_on_same_line_as_{field,variant} 2017-08-19 15:09:10 -07:00
configs-attributes_on_same_line_as_variant-true.rs Add attributes_on_same_line_as_{field,variant} 2017-08-19 15:09:10 -07:00
configs-chain_indent-block.rs Update tests 2017-05-03 11:30:17 +09:00
configs-chain_indent-visual.rs Update tests 2017-05-03 11:30:17 +09:00
configs-chain_one_line_max-above.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-chain_one_line_max-below.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-closure_block_indent_threshold-2.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-closure_block_indent_threshold-10.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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-comment_width-above.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-comment_width-below.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-comment_width-ignore.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
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-disable_all_formatting-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-disable_all_formatting-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-error_on_line_overflow-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_args_density-compressed_if_empty.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_args_density-compressed.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_args_density-tall.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_args_density-vertical.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_args_layout-block.rs Use correct indent for return type when it goes multi line 2017-06-12 16:23:10 +09:00
configs-fn_args_layout-visual.rs Fix a typo in calculating overhead for fn args 2017-08-27 14:57:21 +09:00
configs-fn_args_paren_newline-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_args_paren_newline-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_brace_style-always_next_line.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_brace_style-prefer_same_line.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_brace_style-same_line_where.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_call_style-block-trailing-comma.rs Cargo fmt and update tests 2017-09-19 11:41:50 +09:00
configs-fn_call_style-block.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-visual-trailing-comma.rs Try multi-line only when fn_call_style is Block and rewriting function call 2017-05-12 10:33:05 +09:00
configs-fn_call_style-visual.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_call_width-above.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_call_width-below.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_call_width-zero.rs Use vertical layout when args len is larger than fn_call_width 2017-05-12 16:30:26 +09:00
configs-fn_empty_single_line-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_empty_single_line-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_return_indent-with_args.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_return_indent-with_where_clause.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_single_line-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_single_line-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-force_explicit_abi-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-force_explicit_abi-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-force_format_strings-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-force_format_strings-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-format_strings-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-format_strings-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-generics_indent-block.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-generics_indent-visual.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-hard_tabs-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-hard_tabs-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-impl_empty_single_line-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-impl_empty_single_line-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-indent_match_arms-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-indent_match_arms-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-item_brace_style-always_next_line.rs Put the closing brace of empty enum on the same line with the opening brace 2017-08-31 12:44:40 +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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-match_block_trailing_comma-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-match_pattern_separator_break_point-Front.rs Update tests 2017-08-18 23:20:12 +09:00
configs-merge_derives-true.rs Only merge consecutive derives 2017-08-24 23:48:18 +09:00
configs-multiline_closure_forces_block-false.rs Add multiline_{closure,match_arm}_forces_block 2017-08-21 14:05:20 -07:00
configs-multiline_closure_forces_block-true.rs Add multiline_{closure,match_arm}_forces_block 2017-08-21 14:05:20 -07:00
configs-multiline_match_arm_forces_block-false.rs Add multiline_{closure,match_arm}_forces_block 2017-08-21 14:05:20 -07:00
configs-multiline_match_arm_forces_block-true.rs Add multiline_{closure,match_arm}_forces_block 2017-08-21 14:05:20 -07:00
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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-reorder_imported_names-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-reorder_imports-true.rs Update tests 2017-09-15 22:32:03 +09:00
configs-single_line_if_else_max_width-above.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-single_line_if_else_max_width-below.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-space_after_bound_colon-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-space_after_bound_colon-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-space_after_type_annotation_colon-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-space_before_bound-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-space_before_bound-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-space_before_type_annotation-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_around_ranges-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_around_ranges-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_within_angle_brackets-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_within_angle_brackets-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_within_parens-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_within_parens-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_within_square_brackets-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-spaces_within_square_brackets-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-struct_field_align_threshold-20.rs Update tests 2017-07-03 18:55:11 +09:00
configs-struct_lit_multiline_style-force_multi.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-struct_lit_multiline_style-prefer_single.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-struct_lit_style-block.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-struct_lit_style-visual.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-struct_lit_width-above.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-struct_lit_width-below.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-struct_variant_width-above.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-struct_variant_width-below.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-tab_spaces-2.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-tab_spaces-4.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-trailing_comma-always.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-trailing_comma-never.rs Apply config.trailing_comma wherever possible 2017-06-19 16:00:04 +09:00
configs-trailing_comma-vertical.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-type_punctuation_density-compressed.rs Fixup tests 2017-05-02 11:42:38 +12:00
configs-type_punctuation_density-wide.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-use_try_shorthand-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-use_try_shorthand-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_density-compressed_if_empty.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_density-compressed.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_density-tall.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_density-vertical.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_layout-horizontal_vertical.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_layout-horizontal.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_layout-mixed.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_layout-vertical.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_pred_indent-block.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-where_pred_indent-visual.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-wrap_comments-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-wrap_comments-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
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
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
enum.rs Update tests 2017-08-11 17:54:30 +09:00
expr-block.rs Use getters to access Span fields 2017-08-31 14:14:13 +12:00
expr-no-hints.rs
expr.rs Replace ... by ..= in range expr tests 2017-09-27 22:47:34 +02:00
extern_not_explicit.rs
extern.rs Format source codes and update tests 2017-08-09 00:16:35 +09: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 Add and improve tests of file_lines 2017-05-13 13:45:35 -04:00
file-lines-6.rs Add and improve tests of file_lines 2017-05-13 13:45:35 -04:00
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
fn_args_layout-block.rs
fn-custom-2.rs Remove where_indent option 2017-05-01 16:05:38 +12:00
fn-custom-3.rs
fn-custom-4.rs
fn-custom-6.rs Remove where_indent option 2017-05-01 16:05:38 +12:00
fn-custom-7.rs
fn-custom-8.rs Remove where_indent option 2017-05-01 16:05:38 +12:00
fn-custom.rs
fn-simple.rs Add a test for #2003 2017-09-28 20:15:33 +09:00
fn-single-line.rs
hard-tabs.rs
hello2.rs
hello.rs
impls.rs Fix a budget bug in Arg::rewrite() 2017-09-26 11:20:47 +09:00
imports-reorder-lines-and-items.rs
imports-reorder-lines.rs
imports-reorder.rs
imports.rs Fix #1858 - "Don't erase a use with attributes attached" 2017-08-06 19:53:57 -04:00
indent_match_arms.rs Format 2017-08-11 17:44:16 +09:00
issue-447.rs
issue-510.rs Format 2017-08-11 17:44:16 +09:00
issue-811.rs
issue-850.rs
issue-855.rs
issue-913.rs
issue-945.rs
issue-977.rs
issue-1021.rs
issue-1049.rs Update tests 2017-05-25 22:55:33 +09:00
issue-1111.rs
issue-1120.rs
issue-1124.rs
issue-1127.rs
issue-1158.rs Format macros in trait item position 2017-05-04 00:10:03 +08:00
issue-1177.rs
issue-1192.rs
issue-1211.rs Add a test for issue 1211, showing it's no longer an issue. 2017-10-10 18:51:44 +13:00
issue-1216.rs
issue-1239.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 Add tests for issues which can be closed on master 2017-05-04 14:32:13 +09:00
issue-1366.rs Add test for issue #1366. 2017-05-16 16:17:46 +07:00
issue-1468.rs Inherit alignment to last else 2017-05-09 17:33:45 +09:00
issue-1693.rs Use correct indentaion for vec! with semicolon 2017-06-16 13:57:37 +09:00
issue-1800.rs Update tests 2017-07-25 00:56:09 +09:00
issue-1914.rs Add a test for #1914 and #1915 2017-08-25 08:20:11 +09:00
item-brace-style-always-next-line.rs
item-brace-style-prefer-same-line.rs
item-brace-style-same-line-where.rs
large_vec.rs Use block indent when visual indent exceeds max_width 2017-05-01 18:52:43 +09:00
large-block.rs Use block indent when visual indent failed 2017-05-08 08:07:18 +09:00
long_field_access.rs
long-match-arms-brace-newline.rs Update tests 2017-07-10 16:52:55 +09:00
loop.rs Uncomment fixme associated with #184 in loop.rs as this issue is fixed. 2017-10-04 22:02:28 +13:00
macro_not_expr.rs
macros.rs Add a test 2017-10-05 19:44:45 +09:00
match-block-trailing-comma.rs
match-nowrap-trailing-comma.rs
match-nowrap.rs
match.rs Update tests 2017-08-18 23:20:12 +09:00
max-line-length-in-chars.rs Fix line length calculation (should be in chars, not bytes) 2017-04-19 17:49:03 +03:00
mod_skip_child.rs
mod-1.rs
mod-2.rs
multiple.rs
nested-if-else.rs Remove visual_indent when rewriting else block 2017-05-09 08:11:05 +09:00
no_new_line_beginning.rs
other.rs
paths.rs
pattern-condense-wildcards.rs config: fix suffices -> suffixes typo 2017-05-18 08:03:47 -04:00
pattern.rs Allow empty tuple pattern 2017-08-12 16:01:03 +09:00
pub-restricted.rs Fix the pub-restricted tests 2017-06-06 07:32:07 +02:00
remove_blank_lines.rs Remove unnecessary blank lines at the start and the end of a block 2017-08-11 17:44:16 +09:00
single-line-if-else.rs
skip.rs Add a test that the skip attribute applies to other attributes. 2017-10-06 22:57:59 +01:00
space-before-bound.rs
space-before-type-annotation.rs
space-not-after-type-annotation-colon.rs
space-not-before-bound-colon.rs
space-not-before-newline.rs
spaces-around-ranges.rs Replace ... by ..= in range expr tests 2017-09-27 22:47:34 +02:00
spaces-within-angle-brackets.rs Format 2017-08-11 17:44:16 +09:00
spaces-within-parens.rs Format 2017-08-11 17:44:16 +09:00
spaces-within-square-brackets.rs Format 2017-08-11 17:44:16 +09:00
static.rs Format source codes 2017-07-05 18:31:37 +09:00
string_punctuation.rs
string-lit-2.rs
string-lit.rs Add a test for #1987 2017-10-01 20:30:32 +09:00
struct_lits_multiline.rs
struct_lits_visual_multiline.rs
struct_lits_visual.rs
struct_lits.rs
struct_tuple_visual.rs Format 2017-08-11 17:44:16 +09:00
struct-field-attributes.rs Add a test for #2044 2017-10-08 22:37:13 +09:00
structs.rs Remove colon from faulty span 2017-09-05 01:04:31 +09:00
trailing_commas.rs
trailing-comma-never.rs
trait.rs Update tests 2017-08-28 00:18:17 +09:00
try-conversion.rs Add tests for issues which can be closed on master 2017-05-04 14:32:13 +09:00
tuple.rs Update tests 2017-06-19 11:25:21 +09:00
type_alias.rs Update tests 2017-06-18 02:16:27 +09:00
type-ascription.rs
type-punctuation.rs Made type_punctuation_density apply too all + in types 2017-05-02 01:03:46 +02:00
type.rs
unions.rs Format union 2017-07-10 17:26:55 +09:00
where-clause-rfc.rs Update tests 2017-10-02 00:04:58 +09:00
where-clause.rs