rust/tests/source
2017-05-02 11:42:38 +12:00
..
nested_skipped
nestedmod
assignment.rs Add test for general assignment breaks 2016-06-04 11:00:01 +02:00
attrib.rs
break-and-continue.rs Update to the latest syntex module 2016-12-23 11:20:07 -08:00
chains-indent-tabbed.rs Unify a bunch of option types into IndentStyle 2017-03-20 11:46:39 +13:00
chains-indent-visual.rs
chains-visual.rs Lookup the last element of 'subexpr_list' instead of the first one 2017-04-06 09:26:25 +09:00
chains.rs test fallout 2017-03-28 11:25:59 +13:00
closure.rs Block indenting for struct lit patterns 2017-03-22 09:25:26 +13:00
comment2.rs
comment3.rs
comment4.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
comment5.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
comment_crlf_newline.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
comment.rs Fix bug in identifying comments 2017-01-17 12:01:10 +13: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-chain_indent-block.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-chain_indent-visual.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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-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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-condense_wildcard_suffices-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-control_brace_style-always_next_line.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-control_brace_style-always_same_line.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-control_brace_style-closing_next_line.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-fn_args_layout-visual.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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_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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-item_brace_style-prefer_same_line.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-item_brace_style-same_line_where.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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-normalize_comments-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-normalize_comments-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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-false.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-reorder_imports-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02: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_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_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_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 Add source/target tests for each config option 2017-05-01 15:58:04 +02: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 Add source/target tests for each config option 2017-05-01 15:58:04 +02: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 Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
configs-wrap_match_arms-true.rs Add source/target tests for each config option 2017-05-01 15:58:04 +02:00
control-brace-style-always-next-line.rs Refactor if/else formatting 2017-01-11 18:14:41 +13:00
control-brace-style-always-same-line.rs Refactor if/else formatting 2017-01-11 18:14:41 +13:00
doc.rs Add a more lightweight method for rewriting comments when we are not normalising 2017-01-17 10:17:48 +13:00
else-if-brace-style-always-next-line.rs Refactor if/else formatting 2017-01-11 18:14:41 +13:00
else-if-brace-style-always-same-line.rs Refactor if/else formatting 2017-01-11 18:14:41 +13:00
else-if-brace-style-closing-next-line.rs Refactor if/else formatting 2017-01-11 18:14:41 +13:00
empty_file.rs
enum.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
expr-block.rs Test fallout 2017-04-06 13:06:11 +12:00
expr-no-hints.rs
expr.rs Test and source fallout 2017-03-22 09:25:26 +13:00
extern_not_explicit.rs
extern.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
file-lines-1.rs Update to latest Syntex 2016-09-16 15:28:02 +12:00
file-lines-2.rs Update to latest Syntex 2016-09-16 15:28:02 +12:00
file-lines-3.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
file-lines-4.rs Update to latest Syntex 2016-09-16 15:28:02 +12:00
fn_args_density-vertical.rs
fn_args_layout-block.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
fn-custom-2.rs Remove where_indent option 2017-05-01 16:05:38 +12:00
fn-custom-3.rs Unify fn_args_layout and fn_arg_indent 2017-03-20 11:59:08 +13:00
fn-custom-4.rs Unify a bunch of option types into IndentStyle 2017-03-20 11:46:39 +13:00
fn-custom-6.rs Remove where_indent option 2017-05-01 16:05:38 +12:00
fn-custom-7.rs Unify fn_args_layout and fn_arg_indent 2017-03-20 11:59:08 +13:00
fn-custom-8.rs Remove where_indent option 2017-05-01 16:05:38 +12:00
fn-custom.rs
fn-simple.rs Fix a bug with overlong function calls 2017-04-06 21:17:22 +12:00
fn-single-line.rs
hard-tabs.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
hello2.rs
hello.rs
impls.rs Try hard to format impl signatures 2017-01-17 13:08:36 +13:00
imports-reorder-lines-and-items.rs Fixes #1184 where reordering import items could cause a panic. 2016-11-03 04:21:47 +00:00
imports-reorder-lines.rs Add use declaration re-ordering (#1104) 2016-07-26 17:20:01 +12:00
imports-reorder.rs Add a more lightweight method for rewriting comments when we are not normalising 2017-01-17 10:17:48 +13:00
imports.rs Format glob imports 2017-03-08 10:12:42 +13:00
indent_match_arms.rs Add indent_match_arms option (#1404) 2017-03-26 18:32:29 +13:00
issue-447.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
issue-510.rs
issue-811.rs
issue-850.rs
issue-855.rs
issue-913.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
issue-945.rs Add support for the default keyword (#1025) 2016-05-31 19:48:49 +02:00
issue-977.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
issue-1021.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
issue-1049.rs Fix overlong function signature (#1089) 2016-08-01 16:25:00 +12:00
issue-1111.rs Add test case for issue #1111, by adding another route by which a test file's config can be located 2016-08-08 23:13:45 +02:00
issue-1120.rs Fix #1120 - rework how the use list prefix is determined. (#1121) 2016-08-10 18:13:27 +12:00
issue-1124.rs Fix issue 1124 - detect start of output rather than start of input file when writing output source file (#1133) 2016-08-25 08:32:04 +12:00
issue-1127.rs Fix wrap_match_arms resulting in a missing comma (#1307) 2017-03-01 09:46:10 +13:00
issue-1177.rs Add a more lightweight method for rewriting comments when we are not normalising 2017-01-17 10:17:48 +13:00
issue-1192.rs Remove extra whitespace after macro calls 2016-10-27 02:40:08 -05:00
issue-1216.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
issue-1239.rs Handle multiline condition in let if else (fixes #1239) 2017-01-31 23:35:57 +01: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
long_field_access.rs
long-match-arms-brace-newline.rs Do not format string lits by default 2017-01-27 08:11:59 +13:00
loop.rs Fix width computation in Loop::rewrite 2016-06-12 20:37:15 +09:00
macro_not_expr.rs
macros.rs Handle semicolons in macro statements 2017-01-18 10:38:46 +13:00
match-block-trailing-comma.rs
match-nowrap-trailing-comma.rs
match-nowrap.rs
match.rs Use 'first_line_width' 2017-05-01 15:36:40 +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 Do not format string lits by default 2017-01-27 08:11:59 +13:00
no_new_line_beginning.rs
other.rs
paths.rs Add a more lightweight method for rewriting comments when we are not normalising 2017-01-17 10:17:48 +13:00
pattern-condense-wildcards.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
pattern.rs Try harder to format function sigs 2017-03-10 09:26:14 +13:00
pub-restricted.rs
single-line-if-else.rs
skip.rs Fix #1040 2016-09-10 13:08:32 +09:00
space-before-bound.rs Do not ignore space_before_bound in where clause (#1267) 2017-01-09 15:58:06 +13:00
space-before-type-annotation.rs Apply space_before_type_annotation to struct ctors (#1109) 2016-08-05 01:30:53 -04:00
space-not-after-type-annotation-colon.rs Add three new options for spaces 2016-09-17 02:22:13 +02:00
space-not-before-bound-colon.rs Add three new options for spaces 2016-09-17 02:22:13 +02:00
space-not-before-newline.rs Omit space before '\n' + comment (fixes #457) 2017-03-28 16:32:12 +02:00
spaces-around-ranges.rs Add three new options for spaces 2016-09-17 02:22:13 +02:00
spaces-within-angle-brackets.rs Added test for for< 'a > 2016-10-13 22:28:58 +03:00
spaces-within-parens.rs Add support for spaces_within_parens config (#1187) 2016-10-13 14:34:08 +13:00
spaces-within-square-brackets.rs Add spaces_within_square_brackets config option. (#1191) 2016-10-18 09:09:49 +13:00
static.rs
string_punctuation.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
string-lit-2.rs If a string goes over-width, give up formatting it 2017-01-06 16:35:28 +13:00
string-lit.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
struct_lits_multiline.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
struct_lits_visual_multiline.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
struct_lits_visual.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
struct_lits.rs Make tests fail if rustfmt encounters an error 2017-02-19 19:57:02 +01:00
struct_tuple_visual.rs Add tests for visual indent struct tuple 2017-05-01 15:57:08 +09:00
structs.rs Check existence of pre comment explicitly 2017-03-31 21:57:29 +09:00
trailing_commas.rs Fix trailing comma tests 2017-03-02 14:27:33 +13:00
trailing-comma-never.rs Some tests 2017-02-24 10:43:53 +13:00
trait.rs
try-conversion.rs
tuple.rs Fix #775 2016-09-20 14:06:28 +09:00
type_alias.rs make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13: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 make rustfmt-normalize_comments false by default 2017-01-16 14:50:27 +13:00
where-clause-rfc.rs Implement where_style Rfc 2017-03-09 14:21:20 +13:00
where-clause.rs