rust/tests/source
2018-11-07 15:00:33 +01:00
..
alignment_2633 fix alignment of a struct's fields with the visual style 2018-11-04 23:41:21 +01:00
configs Change enum align semantics to care about absolute length, rather than difference. 2018-09-26 18:47:17 +00:00
issue-1210 fix rewrite_string when a line feed is present in a sequence of whitespaces, resulting in strange formatting 2018-07-14 19:22:31 +02:00
issue-2482 reverted some defaults for tests that are fixing a specific issue 2018-06-30 17:04:50 +02:00
issue-2917 Prevent right-shifting of block comments with bare lines. 2018-09-22 00:09:11 +02:00
issue-2977 propagate errors about failing to rewrite a macro 2018-09-07 14:48:52 +02:00
issue-3055 do not format a code block in documentation if it is annotated with ignore or text (#3058) 2018-09-28 11:06:29 +09:00
itemized-blocks rewrite_string: detect when a url is being split and place the new line 2018-10-09 21:47:32 +02: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
array_comment.rs Fix an anomaly with comments and array literals 2018-07-17 15:40:19 +12:00
assignment.rs Add a test for #2791 2018-06-25 15:27:09 +09:00
associated-types-bounds-wrapping.rs removed comment with default: rustfmt-max_width 2018-06-27 01:36:01 +02:00
async_block.rs Accept 2015 and 2018 instead of Edition2015 and Edition2018 for edition option 2018-08-31 00:04:23 -07:00
async_fn.rs Accept 2015 and 2018 instead of Edition2015 and Edition2018 for edition option 2018-08-31 00:04:23 -07:00
attrib.rs add non-regression test to existing doc attributes 2018-09-13 01:06:02 +02:00
big-impl-block.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02: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 Accept 2015 and 2018 instead of Edition2015 and Edition2018 for edition option 2018-08-31 00:04:23 -07:00
chains_with_comment.rs Add a test for #2907 2018-08-31 18:10:47 +09:00
chains-visual.rs unecessary use of rustfmt-normalize_comments comment 2018-06-27 15:28:33 +02:00
chains.rs add test 2018-10-15 12:09:53 +13:00
closure-block-inside-macro.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02: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 removed comment with default: rustfmt-control_brace_style 2018-06-27 01:36:02 +02:00
doc-attrib.rs normalize_doc_attributes: remove leading whitespace from the doc comment opener 2018-11-05 18:24:36 +01:00
doc-comment-with-example.rs Add format_doc_comments 2018-10-11 23:34:36 +09:00
doc.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
dyn_trait.rs Add and update tests for trait with paren 2018-07-25 18:27:02 +09: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 removed comment with default: rustfmt-control_brace_style 2018-06-27 01:36:02 +02: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 Add attr_fn_like_width to the width heuristics 2018-10-12 15:20:42 +13:00
existential_type.rs Add a test for associated existential type 2018-07-25 00:42:19 +09:00
expr-block.rs lists: Detect block comment by starting from the end. 2018-09-22 12:16:38 +02:00
expr.rs Add a test for #3003 2018-09-30 23:28:03 +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 removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02: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 removed comment with default: rustfmt-reorder_imports 2018-06-27 15:28:32 +02:00
fn_args_density-vertical.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn_args_indent-block.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn-custom-2.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn-custom-3.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn-custom-4.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn-custom-6.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn-custom-7.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn-custom-8.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn-custom.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
fn-simple.rs Add a test for #2956 2018-08-30 23:38:40 +09:00
fn-single-line.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
hard-tabs.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02: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 removed comment with default: rustfmt-imports_indent 2018-06-27 15:28:32 +02:00
imports-impl-only-use.rs Impl only use (#2951) 2018-08-24 14:39:05 +09:00
imports-reorder-lines-and-items.rs Update tests 2018-04-11 10:46:49 +12:00
imports-reorder-lines.rs removed comment with default: rustfmt-reorder_imports 2018-06-27 15:28:32 +02:00
imports-reorder.rs Update tests 2018-04-11 10:46:49 +12:00
imports.rs Add a test for #2888 2018-08-03 20:06:29 +09:00
invalid-rust-code-in-doc-comment.rs Catch parser panic in format_snippet (#3103) 2018-10-17 14:21:04 +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-539.rs fix the identification of a block comment. 2018-08-16 19:55:15 +02:00
issue-683.rs fix the identification of a block comment. 2018-08-16 19:55:15 +02: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 removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02: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 reverted some defaults for tests that are fixing a specific issue 2018-06-30 17:04:50 +02:00
issue-1124.rs reverted some defaults for tests that are fixing a specific issue 2018-06-30 17:04:50 +02:00
issue-1127.rs formatting 2018-06-27 15:28:32 +02: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 reverted some defaults for tests that are fixing a specific issue 2018-06-30 17:04:50 +02: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 removed comment with default: rustfmt-normalize_comments 2018-06-27 01:35:57 +02:00
issue-2164.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
issue-2179.rs reverted some defaults for tests that are fixing a specific issue 2018-06-30 17:04:50 +02: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-2496.rs Add a test for #2496 2018-09-11 08:54:43 +03: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-2728.rs Fix #2728. 2018-06-19 20:51:49 +09:00
issue-2761.rs Add a test for #2761 2018-06-05 13:42:58 +09:00
issue-2794.rs reverted some defaults for tests that are fixing a specific issue 2018-06-30 17:04:50 +02:00
issue-2863.rs Add a test for #2863 2018-07-26 21:35:48 +09:00
issue-2896.rs Add a test for #2896 2018-08-05 10:50:24 +09:00
issue-2922.rs Add a test for #2922 2018-08-31 16:25:01 +03:00
issue-2927-2.rs Accept 2015 and 2018 instead of Edition2015 and Edition2018 for edition option 2018-08-31 00:04:23 -07:00
issue-2927.rs Accept 2015 and 2018 instead of Edition2015 and Edition2018 for edition option 2018-08-31 00:04:23 -07:00
issue-2930.rs Add a test for #2930 2018-08-31 15:25:08 +03:00
issue-2936.rs Fixed ellipsis bug where rustfmt was creating code that could not be parsed 2018-08-24 00:58:21 -04:00
issue-2955.rs Merge branch 'master' of https://github.com/rust-lang-nursery/rustfmt into fix-optional-arg-condensing 2018-08-27 13:44:56 -04:00
issue-2973.rs Fix indent computation of a macro with braces. 2018-09-18 00:01:51 +02:00
issue-2985.rs Add a test for #2985 2018-09-11 11:09:31 +03:00
issue-3029.rs Avoid control flow expressions conditions to go multi line 2018-10-13 14:12:43 -03:00
issue-3038.rs force a newline after the if condition if there is a different 2018-10-15 23:24:35 +02:00
issue-3049.rs Add a test for #3049 2018-10-06 16:32:27 +03:00
issue-3059.rs try to fix comment bad wrapping (#3099) 2018-10-15 11:18:37 +09:00
issue-3066.rs Add a test for #3066 2018-10-06 10:59:47 +03:00
issue-3131.rs fix the logic for retaining a comment before the arrow in a match 2018-11-07 15:00:33 +01:00
issue-3132.rs The method trim_left_preserve_layout didn't handle tabs properly. 2018-10-30 20:24:03 +01:00
issue-3153.rs trim the start of a line when wrapping an item in preparation for formatting 2018-11-05 20:22:06 +01: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 removed comment with default: rustfmt-brace_style 2018-06-27 01:36:02 +02: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-fn-1.rs Add a test for #3009 2018-09-11 13:30:36 +09:00
long-match-arms-brace-newline.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
long-use-statement-issue-3154.rs missed-spans: Fix bogus check. 2018-10-30 03:21:28 +01: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 Handle raw string literal without any sharps 2018-08-31 10:49:39 +09:00
macros.rs Trim the indentation on macros which heuristically appear to use block-style indentation (#3178) 2018-11-07 17:49:53 +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-flattening.rs Add a test for match flattening 2018-09-11 08:54:43 +03: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 fix a few typos found via codespell. 2018-10-19 12:28:00 +02: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 removed comment with default: rustfmt-remove_nested_parens 2018-06-27 15:28:32 +02:00
paths.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
pattern-condense-wildcards.rs fix a few typos found via codespell. 2018-10-19 12:28:00 +02:00
pattern.rs Add a test for slice patterns 2018-08-12 23:55:34 +09:00
pub-restricted.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
remove_blank_lines.rs fix a few typos found via codespell. 2018-10-19 12:28:00 +02:00
reorder-impl-items.rs fix a few typos found via codespell. 2018-10-19 12:28:00 +02: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 removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
string-lit-2.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
string-lit.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
struct_lits_multiline.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
struct_lits_visual_multiline.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
struct_lits_visual.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
struct_lits.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
struct_tuple_visual.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
struct-field-attributes.rs Tidy up and pass tests 2018-03-02 15:07:13 +13:00
structs.rs Add tests for #2818 2018-06-30 19:20:47 +09: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 Add a test for #3092 2018-10-14 21:47:50 +09: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 #3139 2018-10-27 11:22:18 +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
visual-fn-type.rs Add a visual fn type alias test 2018-09-11 12:34:21 +03:00
where-clause-rfc.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02: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
wrapped_hidden_code_block.rs handle lines prefixed with a # inside code blocks 2018-10-13 09:57:43 +02:00