rust/tests/source
2016-11-13 09:36:43 +01:00
..
nested_skipped test ignored out of line modules 2015-12-24 00:15:29 +03:00
nestedmod Separate modules and files listing of reformatting 2015-08-02 13:07:27 +02:00
assignment.rs Add test for general assignment breaks 2016-06-04 11:00:01 +02:00
attrib.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
chains-block-indented-base.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
chains-indent-inherit.rs new config 'chain_indent' 2015-11-14 21:50:40 +01:00
chains-indent-tabbed.rs new config 'chain_indent' 2015-11-14 21:50:40 +01:00
chains-indent-visual.rs new config 'chain_indent' 2015-11-14 21:50:40 +01:00
chains-no-overflow.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
chains-visual.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
chains.rs Merge pull request #1016 from rust-lang-nursery/try-double-indent 2016-06-01 12:28:36 +01:00
closure.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
comment2.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
comment3.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
comment4.rs Improve comment rewriting with normalize_comments == false 2016-09-17 03:41:11 +02:00
comment5.rs Add custom comments (#1179) 2016-09-30 08:34:46 +13:00
comment_crlf_newline.rs Avoid adding an extra newline after block comments 2015-11-20 23:31:05 +01:00
comment.rs Fix formatting empty block comments (/**/) 2016-07-09 22:56:50 +09:00
control-brace-style-always-next-line.rs Added loop/match brace style control option 2016-04-17 14:52:04 -06:00
control-brace-style-always-same-line.rs Added loop/match brace style control option 2016-04-17 14:52:04 -06:00
doc.rs Add a terrible, but useful, test which I used locally 2015-06-11 14:36:31 +12:00
else-if-brace-style-always-next-line.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
else-if-brace-style-always-same-line.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
else-if-brace-style-closing-next-line.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
empty_file.rs Add unittest for #115 2015-08-28 22:59:36 +02:00
enum-no_trailing_comma.rs Honor "enum_trailing_comma" option. Fixes #556 2015-11-03 23:57:31 +01:00
enum.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
expr-no-hints.rs Refine chain breaking heuristics 2015-09-11 00:53:01 +02:00
expr.rs Prevent line breaking at = or in after trivial patterns 2016-09-17 13:03:14 +09:00
extern_not_explicit.rs Add option to force explicit extern ABI's 2016-04-18 18:39:40 +02:00
extern.rs Keep empty extern blocks on one line 2016-03-14 18:55:55 +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 Update to latest Syntex 2016-09-16 15:28:02 +12:00
file-lines-4.rs Update to latest Syntex 2016-09-16 15:28:02 +12:00
fn_args_density-vertical.rs Add independent test for Vertical rustfmt-fn_args_density 2016-03-14 04:03:33 +02:00
fn_args_layout-block.rs Fix long generic indent 2016-04-07 20:29:05 +01:00
fn_args_layout-blockalways.rs Add variant to fn_args_layout 2016-04-07 20:01:16 +01:00
fn-custom-2.rs Support where predicates on the same line 2015-09-01 18:53:16 +12:00
fn-custom-3.rs Support where predicates on the same line 2015-09-01 18:53:16 +12:00
fn-custom-4.rs Support where clauses on the same line as the function decl where it all fits on one line. 2015-09-02 07:59:54 +12:00
fn-custom-5.rs Support where clause predicates at different indentations 2015-09-01 19:04:41 +12:00
fn-custom-6.rs Fix long generic indent 2016-04-07 20:29:05 +01:00
fn-custom-7.rs Fix long generic indent 2016-04-07 20:29:05 +01:00
fn-custom-8.rs Fix long generic indent 2016-04-07 20:29:05 +01:00
fn-custom.rs Rename fn_args_layout to fn_args_density 2015-09-02 08:56:37 +12:00
fn-simple.rs Break function headers earlier 2015-12-01 22:09:37 +01:00
fn-single-line.rs Where clause is on same line as fn if fn is empty fix-#760 2016-01-10 22:06:06 -07:00
hard-tabs.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
hello2.rs implement framework for system tests 2015-06-05 17:50:22 +02:00
hello.rs implement framework for system tests 2015-06-05 17:50:22 +02:00
impls.rs Split impl at 'for' if a line break is needed (#1148) 2016-09-06 17:11:56 +12: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 use declaration re-ordering (#1104) 2016-07-26 17:20:01 +12:00
imports.rs Fix imports with absolute paths 2016-08-01 10:10:04 +02:00
issue-447.rs Handle more possible comment position for if else 2016-01-12 03:08:48 +01:00
issue-510.rs Don't apply the function args heuristic to tuple lits. 2016-03-14 20:51:06 +13:00
issue-811.rs Fix for issue #811 (falsely inserted "::" in paths with parameterized trait cast). 2016-03-01 16:39:43 +01:00
issue-850.rs Add a test for #850 2016-03-09 02:44:01 -08:00
issue-855.rs Check length of break and continue expressions 2016-04-15 18:11:29 +02:00
issue-913.rs Fix off-by-one error in pattern formatting 2016-04-16 22:42:52 +02:00
issue-945.rs Add support for the default keyword (#1025) 2016-05-31 19:48:49 +02:00
issue-977.rs Fix #977 2016-08-28 16:40:03 +09:00
issue-1021.rs Fix #1021: Handle .. in tuple / tuple struct patterns 2016-09-09 19:56:34 +09: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-1177.rs Stop extra newlines from being added after block comments (#1185) 2016-10-25 08:45:15 +13:00
issue-1192.rs Remove extra whitespace after macro calls 2016-10-27 02:40:08 -05:00
issue-1216.rs fix #1216: panic on comment starting with //* 2016-11-13 09:36:43 +01:00
item-brace-style-always-next-line.rs Properly follow the brace styles. 2015-11-18 22:34:14 -08:00
item-brace-style-prefer-same-line.rs Properly follow the brace styles. 2015-11-18 22:34:14 -08:00
item-brace-style-same-line-where.rs Properly follow the brace styles. 2015-11-18 22:34:14 -08:00
long_field_access.rs Fix long field accesses not being broken onto separate lines 2015-11-21 01:05:31 +01:00
loop.rs Fix width computation in Loop::rewrite 2016-06-12 20:37:15 +09:00
macro_not_expr.rs Add test for a macro not containing an exprssion 2015-10-23 13:46:14 -07:00
macros.rs Preserve macro formatting if we can't rewrite it 2016-10-03 14:14:56 +10:00
match-block-trailing-comma.rs Update trailing comma match logic, add tests 2015-12-01 20:10:57 +13:00
match-nowrap-trailing-comma.rs Update trailing comma match logic, add tests 2015-12-01 20:10:57 +13:00
match-nowrap.rs Add option to disable (un)wrapping of match arms 2015-11-20 21:50:25 +01:00
match-wildcard-trailing-comma.rs Trailing commas for wildcard arms 2016-01-06 11:02:01 +09:00
match.rs Reviewer comments - mostly fix rewrite_guard 2016-04-12 10:30:57 +12:00
mod_skip_child.rs test ignored out of line modules 2015-12-24 00:15:29 +03:00
mod-1.rs Rewrite module declarations 2015-11-21 21:06:29 +01:00
mod-2.rs Format inline attributes on out-of-line modules (#996) 2016-05-18 22:36:59 +02:00
multiple.rs Take rustfmt_skip attribute into account on modules 2015-11-23 09:20:53 +13:00
no_new_line_beginning.rs Fix #190 for submodules 2015-08-24 22:01:01 +02:00
other.rs Add a terrible, but useful, test which I used locally 2015-06-11 14:36:31 +12:00
paths.rs Detect when comments disappear 2016-01-10 15:20:58 +01:00
pattern-condense-wildcards.rs Condense suffix strings of simple wildcards in patterns 2016-11-07 21:38:20 +01:00
pattern.rs Format all patterns (well, except macros) 2016-02-12 14:59:13 +13:00
pub-restricted.rs Handle pub(restricted) (#1013) 2016-05-28 00:58:25 +02:00
single-line-if-else.rs Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
skip.rs Fix #1040 2016-09-10 13:08:32 +09:00
space-before-bound.rs Add two new whitespace options (#1109) 2016-08-03 01:11:39 -04: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
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 Format visibility of associated consts (#953) 2016-04-19 20:19:14 +02:00
string_punctuation.rs Added punctuation preference 2015-10-02 08:37:21 -05:00
string-lit-2.rs Bootstrap it. Hard. 2016-05-12 21:50:43 +02:00
string-lit.rs Don't reformat strings if we don't have to. 2016-01-28 19:14:08 +13:00
struct_lits_multiline.rs Comments in structs use appropriate style 2015-11-17 11:57:49 +13:00
struct_lits_visual_multiline.rs Option to disable line breaking in comments 2015-11-10 08:03:01 +13:00
struct_lits_visual.rs Fix last comment for visually formatted struct lits 2015-11-22 17:41:54 +01:00
struct_lits.rs Empty structs and struct lits (#920) 2016-04-11 21:05:54 +02:00
structs.rs Empty structs and struct lits (#920) 2016-04-11 21:05:54 +02:00
trait.rs Fixed nitpicks 2016-03-15 14:08:12 -06:00
try-conversion.rs Add try macro to try shorthand conversion tests 2016-05-12 21:15:06 +02:00
tuple.rs Fix #775 2016-09-20 14:06:28 +09:00
type_alias.rs Remove trailing whitespace for fn types /w non-unit return 2016-03-27 20:40:23 +02:00
type-ascription.rs Format type ascription 2016-04-15 17:56:43 +02:00
type-punctuation.rs Added test case 2016-01-12 13:51:32 -07:00
type.rs Quick fix for "impl Trait" 2016-10-13 12:30:16 -07:00
where-clause.rs Fix where clauses not taking the width of the line into account 2015-11-27 09:27:41 +01:00
where-trailing-comma.rs Added tests 2016-03-14 20:05:20 -06:00