rust/tests/target
Stéphane Campinas cc26c5eaca
Merge pull request #3454 from rchaser53/issue-3434
add new attribute rustfmt::skip::macros
2019-03-24 22:29:56 +01:00
..
alignment_2633 fix alignment of a struct's fields with the visual style 2018-11-04 23:41:21 +01:00
configs Tweak test settings 2019-03-17 12:33:18 +09:00
format_strings Fix issue #3263 (#3264) 2018-12-25 18:03:48 +09: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-2179 fix "internal error: left behind trailing whitespace" with long lines 2019-02-01 19:58:38 +09:00
issue-2482 reverted some defaults for tests that are fixing a specific issue 2018-06-30 17:04:50 +02:00
issue-2673-nonmodrs-mods Turn the nonmodrs-mods test into a standard idempotence test 2018-05-06 13:08:43 +02:00
issue-2917 Always enforce exactly one space between macro! and braces ({}) 2018-11-17 11:53:11 -07: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
issue-3213 version-gate the trailing semicolon change of return statements inside a match arm 2018-12-14 09:54:23 +01:00
issue-3227 version/2: Align loop and while formatting 2019-02-14 10:06:29 +09:00
issue-3270 version-gate the formatting of commented strings 2019-01-16 23:06:28 +01:00
issue-3272 Use the same rule with macro and function calls with a single chain 2019-01-28 23:05:42 +09:00
issue-3278 add the version gate to the code and test 2019-01-27 14:38:57 +09:00
issue-3295 fix "internal error: left behind trailing whitespace" with long lines 2019-02-01 19:58:38 +09:00
issue-3434 add test for visitor mad from same context 2019-03-22 18:20:00 +09:00
itemized-blocks Various cosmetic improvements (#3403) 2019-02-19 11:56:42 +09:00
long-fn-1 add the version gate to the code and test 2019-01-27 14:38:57 +09:00
nested_skipped
nestedmod
path_clarity Add a test for #3427 2019-03-17 12:21:21 +09:00
single-line-macro Avoid putting a long macro call in a single line 2019-01-28 23:05:39 +09: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_type_defaults.rs
associated-items.rs
associated-types-bounds-wrapping.rs removed comment with default: rustfmt-max_width 2018-06-27 01:36:01 +02:00
async_block.rs Fix formatting of async blocks 2019-03-20 18:18:02 +01:00
async_closure.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-block-expr.rs
attrib-extern-crate.rs
attrib.rs Update rustc-ap-* crates to 407.0.0 (#3447) 2019-03-14 22:50:53 +09:00
big-impl-block.rs Makes brace behavior consistent with empty bodies for traits and impls 2018-09-26 09:44:13 -03:00
big-impl-visual.rs
binary-expr.rs Add tests for simple binary expressions 2018-05-06 15:14:30 +09:00
break-and-continue.rs
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 Update tests 2018-08-31 18:20:28 +09:00
chains-visual.rs Overflow Visual functions even with one argument 2018-10-06 16:32:38 +03: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 Update tests 2018-09-19 23:19:24 +09:00
comment2.rs
comment3.rs
comment4.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
comment5.rs rewrite_string: allow to break on a boundary character that is on edge 2018-10-08 14:48:15 +02:00
comment6.rs Use Unicode-standard char width to wrap comments or strings. (#3275) 2019-01-15 08:41:09 +09:00
comment_crlf_newline.rs
comment-inside-const.rs
comment-not-disappear.rs Check for comments after the => in a match arm 2018-07-20 16:05:18 +12:00
comment.rs
comments-fn.rs Various cosmetic improvements (#3403) 2019-02-19 11:56:42 +09:00
const_generics.rs implement for const generics 2019-03-13 03:58:23 +09:00
control-brace-style-always-next-line.rs
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 Update rustc-ap-* crates to 407.0.0 (#3447) 2019-03-14 22:50:53 +09:00
doc-comment-with-example.rs Add format_doc_comments 2018-10-11 23:34:36 +09:00
doc.rs
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
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
empty_file.rs
empty-tuple-no-conversion-to-unit-struct.rs
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-overflow-delimited.rs Add tests that include comments before the overflow-able params 2018-11-08 19:38:01 -07:00
expr.rs Avoid panic on macro inside deeply nested block 2019-03-19 10:50:44 +09:00
extern_not_explicit.rs
extern.rs test for #3128 2018-11-15 21:38:23 +13:00
file-lines-1.rs Update tests 2018-09-19 23:19:24 +09:00
file-lines-2.rs
file-lines-3.rs Update tests 2018-09-19 23:19:24 +09:00
file-lines-4.rs
file-lines-5.rs
file-lines-6.rs
file-lines-item.rs removed comment with default: rustfmt-reorder_imports 2018-06-27 15:28:32 +02:00
fn_args_density-vertical.rs
fn_args_indent-block.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn_once.rs
fn-args-with-last-line-comment.rs
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 Prioritize single_line_fn and empty_item_single_line over brace_style 2019-02-01 00:22:47 +09:00
fn-custom-8.rs removed comment with default: rustfmt-indent_style 2018-06-27 01:35:53 +02:00
fn-custom.rs
fn-simple.rs Prefer to break arguments over putting output type on the next line (#3190) 2018-11-18 21:31:40 +09:00
fn-single-line.rs
fn-ty.rs
fn.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
hard-tabs.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
hello.rs
if_while_or_patterns.rs
immovable_generators.rs
impl.rs fix a few typos found via codespell. 2018-10-19 12:28:00 +02:00
impls.rs Makes brace behavior consistent with empty bodies for traits and impls 2018-09-26 09:44:13 -03:00
import-fencepost-length.rs update tests 2018-04-29 21:03:49 +08: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
imports-reorder-lines.rs removed comment with default: rustfmt-reorder_imports 2018-06-27 15:28:32 +02:00
imports-reorder.rs
imports.rs Apply rustfmt::skip on imports (#3289) 2019-01-27 16:26:09 +09:00
indented-impl.rs
invalid-rust-code-in-doc-comment.rs Catch parser panic in format_snippet (#3103) 2018-10-17 14:21:04 +09:00
issue-64.rs
issue-447.rs
issue-510.rs
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-691.rs
issue-770.rs
issue-811.rs
issue-831.rs
issue-850.rs
issue-855.rs
issue-913.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
issue-945.rs
issue-977.rs Temporarily fix tests 2018-04-28 14:07:10 +09:00
issue-1021.rs
issue-1049.rs
issue-1055.rs
issue-1111.rs
issue-1113.rs
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
issue-1177.rs
issue-1192.rs
issue-1211.rs
issue-1214.rs
issue-1216.rs
issue-1239.rs Update tests 2018-05-06 15:14:47 +09:00
issue-1247.rs
issue-1255.rs
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
issue-1366.rs
issue-1397.rs
issue-1468.rs
issue-1598.rs
issue-1624.rs
issue-1681.rs Update tests 2018-09-19 23:19:24 +09:00
issue-1693.rs
issue-1703.rs
issue-1800.rs
issue-1802.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
issue-1824.rs
issue-1914.rs
issue-2025.rs
issue-2103.rs
issue-2111.rs removed comment with default: rustfmt-normalize_comments 2018-06-27 01:35:57 +02:00
issue-2123.rs
issue-2164.rs Prefer to break arguments over putting output type on the next line (#3190) 2018-11-18 21:31:40 +09:00
issue-2197.rs removed comment with default: rustfmt-error_on_line_overflow 2018-06-27 01:36:01 +02:00
issue-2256.rs
issue-2324.rs
issue-2329.rs
issue-2342.rs
issue-2346.rs
issue-2401.rs
issue-2445.rs
issue-2446.rs
issue-2479.rs
issue-2496.rs Add a test for #2496 2018-09-11 08:54:43 +03:00
issue-2520.rs
issue-2523.rs Add a test for #3031 and update test 2018-10-08 13:50:00 +09:00
issue-2526.rs
issue-2551.rs
issue-2554.rs
issue-2582.rs
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-2759.rs Update tests 2018-09-19 23:19:24 +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-2810.rs Fix formatting failures on Windows 2018-10-28 02:37:55 +03:00
issue-2835.rs Prioritize single_line_fn and empty_item_single_line over brace_style 2019-02-01 00:22:47 +09:00
issue-2863.rs Add a test for #2863 2018-07-26 21:35:48 +09:00
issue-2896.rs Prevent right-shifting of block comments with bare lines. 2018-09-22 00:09:11 +02: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 force a newline after the if condition if there is a different 2018-10-15 23:24:35 +02:00
issue-3029.rs Avoid control flow expressions conditions to go multi line 2018-10-13 14:12:43 -03:00
issue-3032.rs Various cosmetic improvements (#3403) 2019-02-19 11:56:42 +09: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-3043.rs Fix bug in import where two consecutive module separators were possible. 2018-09-21 18:51:19 +01: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-3105.rs keep track of lines which formatting was disabled in order to prevent indentation which would cause code right-shifting 2018-10-24 12:11:11 +02:00
issue-3118.rs Added test for crate non-alphabetizing 2018-10-23 19:00:42 -04:00
issue-3124.rs do not add a newline after a missed span if it is the end of a block comment 2018-11-08 22:44:59 +01: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 version-gate the formatting of commented strings 2019-01-16 23:06:28 +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
issue-3182.rs do not wrap comments in doctest to avoid failing doctest runs 2018-11-07 16:48:39 +01:00
issue-3184.rs Do not count /*/ as both start and end comment (#3185) 2018-11-08 14:28:08 +09:00
issue-3194.rs compute the span after a struct-like item based on the ident description 2018-11-13 21:10:30 +01:00
issue-3198.rs leave post comment for self 2019-03-02 17:33:43 +09:00
issue-3217.rs fix the visitor's starting position when visiting a labelled block 2018-11-28 22:50:17 +01:00
issue-3224.rs simplify function to create a string from the itemized block 2018-12-25 23:15:52 +01:00
issue-3234.rs add issue-3234 test 2019-02-08 00:05:54 +09:00
issue-3241.rs fix glob and nested global imports 2019-01-27 12:46:14 +01:00
issue-3265.rs Add test cases. 2018-12-24 06:18:00 +09:00
issue-3302.rs fix formatting of strings within a macro 2019-02-07 00:05:05 +01:00
issue-3304.rs add more tests 2019-02-07 12:12:36 +03:00
issue-3314.rs fix Removed indentation after nested comments error 2019-02-05 13:12:45 +09:00
issue-3343.rs add config inline_attribute_width 2019-02-23 13:40:11 +09:00
issue-3423.rs remove trailing whitespaces in missing spans 2019-03-16 12:23:02 +01:00
issue-3439.rs fix 'Ident of macro+ident gets duplicated' error 2019-03-10 22:58:34 +09:00
item-brace-style-always-next-line.rs
item-brace-style-prefer-same-line.rs
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 repair break_label format 2018-06-07 11:21:52 +08:00
large_vec.rs
large-block.rs
lazy_static.rs Always enforce exactly one space between macro! and braces ({}) 2018-11-17 11:53:11 -07:00
long_field_access.rs
long-match-arms-brace-newline.rs
long-use-statement-issue-3154.rs missed-spans: Fix bogus check. 2018-10-30 03:21:28 +01:00
loop.rs
macro_not_expr.rs
macro_rules.rs Update rustc-ap-* crates to 407.0.0 (#3447) 2019-03-14 22:50:53 +09:00
macros.rs Avoid duplication on the presence of spaces between macro name and ! 2019-03-21 15:58:39 +09:00
markdown-comment-with-options.rs
markdown-comment.rs
match-block-trailing-comma.rs
match-flattening.rs Add a test for match flattening 2018-09-11 08:54:43 +03:00
match-nowrap-trailing-comma.rs
match-nowrap.rs
match.rs end expressions like return/continue/break with a semicolon 2018-11-29 20:39:07 +01:00
max-line-length-in-chars.rs
merge_imports.rs
mod_skip_child.rs
mod-1.rs
mod-2.rs
mulit-file.rs
multiple.rs Various cosmetic improvements (#3403) 2019-02-19 11:56:42 +09:00
nested-if-else.rs
nested-visual-block.rs Update tests 2018-09-19 23:19:24 +09:00
no_arg_with_commnet.rs fix not to remove comment in the case of no arg 2019-03-05 00:18:33 +09:00
no_new_line_beginning.rs
obsolete_in_place.rs Add a test for #2953 2018-08-26 13:19:44 +09:00
one_line_if_v1.rs Format the if expression at the end of the block in a single line (#3338) 2019-03-11 23:18:43 +09:00
one_line_if_v2.rs Format the if expression at the end of the block in a single line (#3338) 2019-03-11 23:18:43 +09:00
other.rs
paren.rs removed comment with default: rustfmt-remove_nested_parens 2018-06-27 15:28:32 +02:00
paths.rs
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
raw_identifiers.rs Handle raw identifiers in chain 2018-09-01 16:18:27 +09: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
skip_mod.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
skip.rs Update uses of rustfmt_skip to rustfmt::skip 2018-05-14 16:25:10 +12:00
soft-wrapping.rs Various cosmetic improvements (#3403) 2019-02-19 11:56:42 +09:00
space-not-before-newline.rs
spaces-around-ranges.rs
static.rs
string_punctuation.rs Use Unicode-standard char width to wrap comments or strings. (#3275) 2019-01-15 08:41:09 +09:00
string-lit-2.rs
string-lit-custom.rs removed comment with default: rustfmt-format_strings 2018-06-27 01:36:02 +02: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 rewrite_string: allow to break on a boundary character that is on edge 2018-10-08 14:48:15 +02:00
struct_lits_visual_multiline.rs No trailing comma in struct literals (Visual) 2018-10-06 10:59:47 +03:00
struct_lits_visual.rs No trailing comma in struct literals (Visual) 2018-10-06 10:59:47 +03:00
struct_lits.rs rewrite_string: allow to break on a boundary character that is on edge 2018-10-08 14:48:15 +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 Apply short function call heuristic to attributes 2018-06-26 15:18:17 +12:00
structs.rs Various cosmetic improvements (#3403) 2019-02-19 11:56:42 +09:00
trailing_commas.rs Update rustc-ap-* crates to 407.0.0 (#3447) 2019-03-14 22:50:53 +09:00
trailing-comma-never.rs Do not force trailing comma when using mixed layout 2019-01-31 23:44:58 +09:00
trait.rs Format visibility on trait alias 2019-02-12 10:16:12 +09:00
try-conversion.rs Update tests to use the absolute position for small parent heuristic 2018-05-08 06:23:14 +09:00
tuple.rs
type_alias.rs
type-ascription.rs
type.rs Prefer to break arguments over putting output type on the next line (#3190) 2018-11-18 21:31:40 +09:00
unindent_if_else_cond_comment.rs
unions.rs Various cosmetic improvements (#3403) 2019-02-19 11:56:42 +09:00
visibility.rs
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
width-heuristics.rs Add test for width heuristics 2018-05-02 11:38:23 +02:00