rust/tests/source
Nick Cameron 261238ea51 Change use_small_heuristics to an enum and stabilise
Since it is now an enum, we can be future compatible since we can add variants
for different heuristics.

Closes #1974
2018-06-19 13:28:27 +12:00
..
configs fix tests 2018-05-31 18:34:06 +08:00
issue-2482 Add a test for #2482 2018-03-02 21:53:13 +09:00
nested_skipped Tidy up and pass tests 2018-03-02 15:07:13 +13:00
nestedmod Tidy up and pass tests 2018-03-02 15:07:13 +13:00
assignment.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
associated-types-bounds-wrapping.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
attrib.rs Format attributes with paths 2018-05-14 16:04:15 +12:00
big-impl-block.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
big-impl-visual.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
binary-expr.rs Add tests for simple binary expressions 2018-05-06 15:14:30 +09:00
break-and-continue.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
catch.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
chains-visual.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
chains.rs Change use_small_heuristics to an enum and stabilise 2018-06-19 13:28:27 +12:00
closure-block-inside-macro.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
closure.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
comment2.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
comment3.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
comment4.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
comment5.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
comment_crlf_newline.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
comment.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
control-brace-style-always-next-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
control-brace-style-always-same-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
doc-comment-with-example.rs Add a test for #2691 2018-05-23 23:29:18 +09:00
doc.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
else-if-brace-style-always-next-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
else-if-brace-style-always-same-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
else-if-brace-style-closing-next-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
empty_file.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
enum.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
expr-block.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
expr.rs Add tests for #2704. 2018-05-23 07:22:30 +09:00
extern_not_explicit.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
extern.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
file-lines-1.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
file-lines-2.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
file-lines-3.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
file-lines-4.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
file-lines-5.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
file-lines-6.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
file-lines-item.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn_args_density-vertical.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn_args_indent-block.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-custom-2.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-custom-3.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-custom-4.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-custom-6.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-custom-7.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-custom-8.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-custom.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-simple.rs Add a test for #2630 2018-06-13 20:39:47 +09:00
fn-single-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
hard-tabs.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
hello2.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
hello.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
if_while_or_patterns.rs Add tests for #2511 2018-03-06 19:42:38 +09:00
immovable_generators.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
impls.rs Add a test for #2746 2018-06-06 10:55:56 +09:00
imports_block_indent.rs Add a test for #2569 2018-04-05 13:23:48 +09:00
imports-reorder-lines-and-items.rs Update tests 2018-04-11 10:46:49 +12:00
imports-reorder-lines.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
imports-reorder.rs Update tests 2018-04-11 10:46:49 +12:00
imports.rs Add a test for #2765 2018-06-05 19:58:28 +09:00
issue-447.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-510.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-811.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-850.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-855.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-913.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-945.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-977.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1021.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1049.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1111.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1120.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1124.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
issue-1127.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1158.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1177.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1192.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1211.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1216.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1239.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1278.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1350.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1366.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1468.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1693.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1800.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-1914.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2025.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2111.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2164.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2179.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2256.rs Update tests 2018-03-31 13:16:36 +09:00
issue-2342.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2445.rs fix adds a trailing comma to struct-like macro (#2490) 2018-03-08 18:05:39 +09:00
issue-2446.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2479.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2506.rs Update tests for braces on trait 2018-03-12 07:48:31 +09:00
issue-2520.rs Keep code block without correct backticks enclosing 2018-03-09 09:46:43 +09:00
issue-2523.rs Add a test for #2523 2018-03-09 17:09:56 +09:00
issue-2582.rs Do not turn spaces in the beginning of the file into a newline (#2583) 2018-04-01 23:09:53 +09:00
issue-2641.rs fix: Don't insert an extra brace in macros with native newlines 2018-05-08 20:34:44 +02:00
issue-2644.rs Add test for issue 2644 2018-05-02 10:38:02 +02:00
issue-2761.rs Add a test for #2761 2018-06-05 13:42:58 +09:00
item-brace-style-always-next-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
item-brace-style-prefer-same-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
item-brace-style-same-line-where.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
label_break.rs fix label prefix 2018-05-21 22:37:55 +08:00
large_vec.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
large-block.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
lazy_static.rs Use nested_shape for indenting types of lazy_static 2018-03-07 10:51:28 +09:00
long_field_access.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
long-match-arms-brace-newline.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
loop.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
macro_not_expr.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
macro_rules.rs Add tests for #2607 and #2770 2018-06-07 12:30:14 +09:00
macros.rs Add a test for #2727 2018-05-24 00:13:56 +09:00
markdown-comment-with-options.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
markdown-comment.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
match-block-trailing-comma.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
match-nowrap-trailing-comma.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
match-nowrap.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
match.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
max-line-length-in-chars.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
merge_imports.rs Fix tests 2018-04-12 17:05:34 +12:00
mod_skip_child.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
mod-1.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
mod-2.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
multiple.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
nested-if-else.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
no_new_line_beginning.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
other.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
paren.rs remove nested parens option 2018-05-05 23:13:49 +08:00
paths.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
pattern-condense-wildcards.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
pattern.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
pub-restricted.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
remove_blank_lines.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
reorder-impl-items.rs Add a test for #2634 2018-04-30 16:22:28 +09:00
single-line-if-else.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
soft-wrapping.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
space-not-before-newline.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
spaces-around-ranges.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
static.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
string_punctuation.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
string-lit-2.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
string-lit.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
struct_lits_multiline.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
struct_lits_visual_multiline.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
struct_lits_visual.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
struct_lits.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
struct_tuple_visual.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
struct-field-attributes.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
structs.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
trailing_commas.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
trailing-comma-never.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
trait.rs Fix position of auto in auto trait declaration 2018-05-18 17:25:33 -04:00
try-conversion.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
tuple.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
type_alias.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
type-ascription.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
type.rs Add a test for #2510 2018-03-09 14:07:43 +09:00
unions.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
visibility.rs Add tests for #2398 2018-03-06 19:42:55 +09:00
where-clause-rfc.rs Add a test for #2497 2018-03-12 07:54:12 +09:00
where-clause.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
width-heuristics.rs Add test for width heuristics 2018-05-02 11:38:23 +02:00