rust/tests/target
2021-11-18 13:43:37 -06:00
..
alignment_2633
binop-separator-back Add tests for binop_separator = Back 2021-09-28 22:20:34 -05:00
cfg_if Fix typos “an”→“a” and a few different ones that appeared in the same search 2021-08-22 18:15:49 +02:00
cfg_mod Format modules defined in cfg_attr (#3604) 2019-06-09 09:20:39 +09:00
configs Add One option to group_imports (#4966) 2021-10-23 11:01:48 -05:00
fn-single-line Format the last expression-statement as expression (#3631) 2019-06-17 08:53:39 +09:00
format_strings
inner-module-path fix: inner attribute formatting 2020-09-04 19:01:18 -05:00
issue-1210
issue-2179
issue-2482
issue-2673-nonmodrs-mods
issue-2917
issue-2977
issue-3055 Add #[ignore] to test that runs external process (#3690) 2019-07-16 19:36:23 +09:00
issue-3213
issue-3227
issue-3253 fix formatting mods inside cfg_if macro (#3763) 2019-09-02 18:36:51 +09:00
issue-3270
issue-3272
issue-3278
issue-3295
issue-3434
issue-3494 Fix bugs related to file-lines (#3684) 2019-07-15 22:41:56 +09:00
issue-3585
issue-3614 Format the last expression-statement as expression (#3631) 2019-06-17 08:53:39 +09:00
issue-3665 #3665: Implemented (#3689) 2019-07-17 09:40:33 +09:00
issue-3701 Use correct indent when formatting complex fn type (#3731) 2019-08-16 11:15:28 +09:00
issue-3779 chore: backport 8157a3f0afe978d3e953420577f8344db7e905bf 2020-07-15 09:19:21 -05:00
issue-3840 do not indent impl generics (#3856) 2019-10-11 18:19:44 +09:00
issue-4615 Handle DefinitiveListTactic::SpecialMacro when writing pre-comments 2021-10-17 16:27:05 -05:00
issue-4656 fix: Avoid incorrect global 'cfg_if' Symbol interning 2021-01-27 19:26:58 -06:00
issue-4816 Unyeet const param defaults 2021-07-27 19:50:11 -05:00
issue-4926 Prevent structs with ".." from being rewritten with alignment 2021-10-12 19:37:48 -05:00
issue-4984 Add additional test cases for issue 4984 2021-10-05 22:29:23 -05:00
issue-5005 Prevent removal of qualified path for tuple struct inside macro 2021-09-27 17:49:10 -05:00
issue-5009 Update connector search in ControlFlow::rewrite_pat_expr for for loops 2021-10-13 19:36:37 -05:00
issue-5012 Prevent trailing whitespace in where clause bound predicate 2021-10-30 23:07:34 -05:00
issue-5033 Retain trailing comments in module when using rustfmt::skip attribute 2021-10-28 21:44:39 -05:00
itemized-blocks
license-templates fix: handling of empty str for license template path (#3804) 2019-09-24 09:24:05 +09:00
long-fn-1
nested_skipped
nestedmod
path_clarity
single-line-macro
skip fix: backport mod resolution error handling 2020-06-11 21:11:18 -05:00
trailing_comments handle hard tabs when formatting trailing comments (#3836) 2019-10-07 16:40:27 +09:00
array_comment.rs
assignment.rs Implement closing-block procedure without relying on missed_span module (#3691) 2019-07-17 23:07:12 +09:00
associated_type_bounds.rs tests: add tests for assoscaited_type_bounds fix 2019-06-29 10:11:20 -05:00
associated_type_defaults.rs
associated-items.rs
associated-types-bounds-wrapping.rs
async_block.rs
async_closure.rs Do not add block around async closure (#3946) 2019-12-03 08:47:25 +09:00
async_fn.rs Fix most recenty nightly breakage due to removed await! support (#3722) 2019-08-02 23:54:39 +09:00
attrib-block-expr.rs
attrib-extern-crate.rs
attrib.rs
big-impl-block.rs
big-impl-visual.rs
binary-expr.rs
break-and-continue.rs
catch.rs
chains_with_comment.rs
chains-visual.rs
chains.rs
closure-block-inside-macro.rs
closure.rs
comment2.rs
comment3.rs
comment4.rs
comment5.rs
comment6.rs
comment_crlf_newline.rs
comment-inside-const.rs
comment-not-disappear.rs
comment.rs Implement closing-block procedure without relying on missed_span module (#3691) 2019-07-17 23:07:12 +09:00
comments-fn.rs Implement closing-block procedure without relying on missed_span module (#3691) 2019-07-17 23:07:12 +09:00
const_generics.rs Do not duplicate const keyword on parameters 2021-01-27 18:50:03 -06:00
control-brace-style-always-next-line.rs
control-brace-style-always-same-line.rs
doc-attrib.rs
doc-comment-with-example.rs
doc.rs
dyn_trait.rs
else-if-brace-style-always-next-line.rs
else-if-brace-style-always-same-line.rs
else-if-brace-style-closing-next-line.rs
empty_file.rs
empty-item-single-line-false.rs Put empty trait braces on same line if possible 2021-11-05 20:40:49 -05:00
empty-tuple-no-conversion-to-unit-struct.rs
enum.rs do not remove discriminant value if exists (#3771) (#3772) 2019-09-04 23:01:04 +09:00
existential_type.rs stop to strip 'impl' from impl trait type alias (#3816) 2019-10-04 11:25:16 +09:00
expr-block.rs
expr-overflow-delimited.rs
expr.rs feat: support underscore expressions 2020-11-28 17:41:21 -06:00
extern_not_explicit.rs
extern.rs Remove async fn from extern block tests 2020-11-28 21:59:30 -06:00
file-lines-1.rs
file-lines-2.rs
file-lines-3.rs
file-lines-4.rs
file-lines-5.rs
file-lines-6.rs
file-lines-7.rs Fix bugs related to file-lines (#3684) 2019-07-15 22:41:56 +09:00
file-lines-item.rs
fn_args_indent-block.rs
fn_args_layout-vertical.rs
fn_once.rs
fn-args-with-last-line-comment.rs
fn-custom-2.rs
fn-custom-3.rs
fn-custom-4.rs
fn-custom-6.rs
fn-custom-7.rs
fn-custom-8.rs
fn-custom.rs
fn-param-attributes.rs feat: support parameter attributes (#3793) 2019-09-20 16:11:52 +09:00
fn-simple.rs
fn-ty.rs
fn.rs Implement closing-block procedure without relying on missed_span module (#3691) 2019-07-17 23:07:12 +09:00
hard-tabs.rs
hello.rs
hex_literal_lower.rs feat: upper- or lowercase hexadecimal literals 2021-09-14 21:22:26 -05:00
hex_literal_preserve.rs feat: upper- or lowercase hexadecimal literals 2021-09-14 21:22:26 -05:00
hex_literal_upper.rs feat: upper- or lowercase hexadecimal literals 2021-09-14 21:22:26 -05:00
if_while_or_patterns.rs
immovable_generators.rs
impl.rs
impls.rs Preserve visibility on trait items inside trait and impl 2021-08-22 12:06:18 -05:00
import-fencepost-length.rs
imports_2021_edition.rs Add 2021 test. 2021-01-09 12:11:52 -06:00
imports_block_indent.rs
imports_granularity_crate.rs Rename merge_imports to imports_granularity and add a Module option. 2021-01-17 11:48:47 -06:00
imports_granularity_item.rs Add imports_granularity="Item". 2021-01-27 20:58:42 -06:00
imports_granularity_module.rs Rename merge_imports to imports_granularity and add a Module option. 2021-01-17 11:48:47 -06:00
imports_granularity_one.rs Implement One option for imports_granularity (#4669) 2021-08-31 18:33:06 -05:00
imports-impl-only-use.rs
imports-reorder-lines-and-items.rs
imports-reorder-lines.rs
imports-reorder.rs
imports.rs refactor: rename libsyntax --> rustc_ast 2020-03-27 22:29:12 -05:00
indented-impl.rs
invalid-rust-code-in-doc-comment.rs
issue_3839.rs fix: handle block comments with trailing line comments (#3842) 2019-10-08 10:12:21 +09:00
issue_3844.rs fix panic on closure with empty block expr (#3846) 2019-10-08 11:00:31 +09:00
issue_3853.rs fix: comments between lhs and rhs 2019-10-17 20:13:11 -05:00
issue_3854.rs fix: handle lhs unary in range expression (#3855) 2019-10-11 18:15:04 +09:00
issue_3868.rs chore: backport some empty block check fixes 2021-01-27 20:58:42 -06:00
issue_3934.rs tests: add system tests for inverted span issue 2020-08-09 14:32:34 -05:00
issue_4031.rs fix: newline width calc in combine w/ comments (#4123) 2021-09-06 17:02:20 -05:00
issue_4032.rs fix: use correct spans for params with attrs 2021-09-06 18:14:13 -05:00
issue_4049.rs refactor: apply heuristic config changes in lib 2021-04-21 21:27:50 -05:00
issue_4057.rs fix: unreachable err on Fn with None block 2020-03-27 22:13:46 -05:00
issue_4086.rs fix: formatting arbitrary extern abi (#4089) 2020-03-31 15:30:26 +09:00
issue_4110.rs fix: newline width calc in combine w/ comments (#4123) 2021-09-06 17:02:20 -05:00
issue_4257.rs test: add test for #4257 2021-09-02 20:53:15 -05:00
issue_4322.rs test: add test for #4322 2021-09-02 20:53:15 -05:00
issue_4374.rs tests: add system tests for inverted span issue 2020-08-09 14:32:34 -05:00
issue_4467.rs tests: attributed comment-only blocks 2020-11-14 11:50:28 -06:00
issue_4475.rs tests: attributed comment-only blocks 2020-11-14 11:50:28 -06:00
issue_4522.rs tests: attributed comment-only blocks 2020-11-14 11:50:28 -06:00
issue_4528.rs fix: don't drop leading comments in extern 2020-11-16 15:48:20 -06:00
issue_4545.rs tests: backport an additional test case 2020-11-29 13:26:58 -06:00
issue_4579.rs tests: add files for issue 4579 2021-09-06 18:14:13 -05:00
issue_4584.rs fix: don't strip nonexistent comma in derive 2020-12-20 12:05:05 -06:00
issue_4636.rs fix: indentation issue on generic bounds 2021-01-16 11:17:23 -06:00
issue_4675.rs tests: add case for issue 4675 2021-01-28 22:01:50 -06:00
issue_4823.rs tests: add cases for type alias issues 2021-11-18 13:43:37 -06:00
issue_4850.rs Prevent trailing whitespace in where clause bound predicate 2021-10-30 23:07:34 -05:00
issue_4868.rs Merge commit '4236289b75ee55c78538c749512cdbeea5e1c332' into update-rustfmt 2021-07-25 22:57:19 -05:00
issue_4911.rs fix: handle GAT types in impls with self bounds 2021-08-06 22:03:40 -05:00
issue_4936.rs fix: handle param doc comments for macro scenarios 2021-09-08 19:27:31 -05:00
issue_4943.rs test: add missing source for #4943 2021-09-02 20:53:15 -05:00
issue_4954.rs test: add test for #4954 2021-09-02 20:53:15 -05:00
issue_4963.rs fix: resolve idempotency issue in extern body elements 2021-09-07 20:22:09 -05:00
issue_5027.rs tests: add cases for type alias issues 2021-11-18 13:43:37 -06:00
issue_5086.rs tests: add cases for type alias issues 2021-11-18 13:43:37 -06:00
issue-64.rs
issue-447.rs
issue-510.rs
issue-539.rs
issue-683.rs
issue-691.rs
issue-770.rs
issue-811.rs
issue-831.rs
issue-850.rs
issue-855.rs
issue-913.rs
issue-945.rs
issue-977.rs Implement closing-block procedure without relying on missed_span module (#3691) 2019-07-17 23:07:12 +09:00
issue-1021.rs Fix broken tuple pattern (#3729) 2019-08-06 11:09:45 +09:00
issue-1049.rs
issue-1055.rs
issue-1096.rs
issue-1111.rs
issue-1113.rs
issue-1120.rs
issue-1124.rs
issue-1127.rs
issue-1158.rs
issue-1177.rs
issue-1192.rs
issue-1211.rs
issue-1214.rs
issue-1216.rs
issue-1239.rs
issue-1247.rs
issue-1255.rs
issue-1278.rs
issue-1350.rs
issue-1366.rs
issue-1397.rs
issue-1468.rs
issue-1598.rs
issue-1624.rs
issue-1681.rs
issue-1693.rs
issue-1703.rs
issue-1800.rs
issue-1802.rs
issue-1824.rs
issue-1914.rs
issue-2025.rs
issue-2103.rs
issue-2111.rs
issue-2123.rs
issue-2164.rs
issue-2197.rs
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
issue-2520.rs
issue-2523.rs
issue-2526.rs
issue-2551.rs
issue-2554.rs
issue-2582.rs
issue-2641.rs
issue-2644.rs
issue-2728.rs
issue-2759.rs
issue-2761.rs
issue-2781.rs Pick up comments between visibility modifier and item name (#4239) 2020-11-29 13:26:58 -06:00
issue-2794.rs
issue-2810.rs
issue-2835.rs
issue-2863.rs Update rustc-ap-* crates to 581.0.0 (#3783) 2019-09-06 22:41:03 +09:00
issue-2869.rs handle field attributes when aligning a struct's fields (#3513) 2019-10-19 16:56:32 +09:00
issue-2896.rs
issue-2916.rs deps: update rustc-ap to v642.0.0 2020-02-08 22:21:37 -06:00
issue-2922.rs
issue-2927-2.rs
issue-2927.rs
issue-2930.rs
issue-2936.rs Don't flatten a block containing a single macro call 2020-11-05 20:45:11 -06:00
issue-2941.rs
issue-2955.rs
issue-2973.rs
issue-2976.rs
issue-2985.rs
issue-2995.rs
issue-3029.rs
issue-3032.rs
issue-3038.rs
issue-3043.rs
issue-3049.rs
issue-3059.rs
issue-3066.rs
issue-3105.rs
issue-3118.rs
issue-3124.rs
issue-3131.rs
issue-3132.rs
issue-3153.rs
issue-3158.rs rustfmt doc code blocks with multiple comma-separated attributes 2021-09-08 23:27:51 -05:00
issue-3182.rs
issue-3184.rs
issue-3194.rs
issue-3198.rs
issue-3217.rs
issue-3224.rs
issue-3234.rs
issue-3241.rs
issue-3265.rs
issue-3302.rs
issue-3304.rs
issue-3314.rs
issue-3343.rs
issue-3423.rs
issue-3442.rs
issue-3465.rs
issue-3499.rs
issue-3508.rs
issue-3515.rs
issue-3532.rs
issue-3539.rs
issue-3554.rs
issue-3567.rs
issue-3568.rs
issue-3595.rs
issue-3601.rs
issue-3636.rs Fix bugs related to file-lines (#3684) 2019-07-15 22:41:56 +09:00
issue-3639.rs fix extraction of missing comments when rewriting an empty where clause (#3663) 2019-06-30 12:19:24 +09:00
issue-3645.rs remove unreachable!() (#3646) 2019-06-23 16:24:40 +09:00
issue-3651.rs fix internal error for long closure types (#3653) 2019-06-25 23:14:19 +09:00
issue-3672.rs add test for handling double semicolon (#3706) 2019-07-29 05:56:34 +09:00
issue-3675.rs fix 'extra comma inserted due to comment' (#3677) 2019-07-14 22:16:47 +09:00
issue-3709.rs fix: remove trailing space with empty dyn macro arg (#3737) 2019-08-11 12:49:14 +09:00
issue-3711.rs fix to build with rustc 1.38.0-nightly (4560cb830 2019-07-28) (#3712) 2019-07-30 14:32:38 +09:00
issue-3717.rs fix internal error when using rustfmt::skip with newline on stmt (#3785) 2019-09-15 23:45:46 +09:00
issue-3718.rs fix underscore in slice patterns are removed (#3719) 2019-07-31 23:55:58 +09:00
issue-3740.rs Use the correct BytePos for the opening brace position (#3742) 2019-08-13 23:21:55 +09:00
issue-3741.rs fix 'left behind trailing whitespace' (#3761) 2019-09-05 19:38:00 +09:00
issue-3750.rs Rename merge_imports to imports_granularity and add a Module option. 2021-01-17 11:48:47 -06:00
issue-3751.rs fix rust code in comment with a line containing only a hash sign (#3818) 2019-10-02 23:58:25 +09:00
issue-3759.rs fix the bug removing attrs (#3760) 2019-08-28 20:50:02 +09:00
issue-3786.rs fix the error with long string in raw string (#3800) 2019-09-18 22:39:27 +09:00
issue-3787.rs improve detection of URL inside a string that is being rewritten. (#3809) 2019-10-07 16:43:50 +09:00
issue-3815.rs stop to strip 'impl' from impl trait type alias (#3816) 2019-10-04 11:25:16 +09:00
issue-3845.rs fix to swallow attribute on brace expression (#3848) 2019-10-10 10:35:34 +09:00
issue-3882.rs fix Unparsable code when formmating (#3883) 2019-10-24 22:16:56 +09:00
issue-3974.rs Use correct span for match arms with the leading pipe and attributes (#3975) 2020-06-27 12:55:15 -05:00
issue-4018.rs Preserve comments in empty statements (#4180) 2020-10-24 11:13:00 -05:00
issue-4020.rs fix: backport fix for #4020 2020-06-11 23:17:38 -05:00
issue-4029.rs tests 2020-11-29 13:26:58 -06:00
issue-4068.rs fix: unreachable err on Fn with None block 2020-03-27 22:13:46 -05:00
issue-4079.rs fix: backport fix for #4079 2020-06-11 23:29:51 -05:00
issue-4115.rs tests 2020-11-29 13:26:58 -06:00
issue-4120.rs Fixed 'Incorrect comment indent inside if/else' issue. (#4459) 2020-11-14 11:50:28 -06:00
issue-4152.rs Compare code block line indentation with config whitespace (#4166) 2020-11-29 13:26:58 -06:00
issue-4159.rs fixup! Preserve and format type aliases in extern blocks 2020-10-01 19:12:22 -05:00
issue-4243.rs Comment between typebounds (#4474) 2020-11-29 13:26:58 -06:00
issue-4244.rs Fixed 'Comment removed between type name and =' issue (#4448) 2020-11-29 13:26:58 -06:00
issue-4245.rs Fixed comment dropped between & and type issue (#4482) 2020-11-29 13:26:58 -06:00
issue-4310.rs Include const generic type bounds in their spans 2021-01-27 18:50:03 -06:00
issue-4312.rs Add the case in duplicate issue (#4806) to the idempotent tests 2021-04-21 21:30:42 -05:00
issue-4313.rs Don't drop blocks on foreign functions 2020-11-28 21:59:30 -06:00
issue-4382.rs fixup! Correctly create artificial span for formatting closure body 2020-11-14 11:50:28 -06:00
issue-4398.rs Correctly indent skipped-over code 2020-10-24 11:13:00 -05:00
issue-4427.rs Add the use of rewrite_assign_rhs_with_comments to 1.x 2021-02-17 20:47:20 -06:00
issue-4530.rs Wrap long array and slice patterns. 2021-10-04 20:41:17 -05:00
issue-4577.rs Fix rewrite of closures with a return type 2020-12-20 12:05:05 -06:00
issue-4603.rs Fix for issue 4603 about extra macro body indentation (third version) 2021-02-17 20:19:27 -06:00
issue-4646.rs Added 4646 test case 2021-01-27 20:58:42 -06:00
issue-4908-2.rs fix: remove wrong reformatting of qualified paths in struct patterns 2021-08-25 21:18:41 -05:00
issue-4908.rs fix: remove wrong reformatting of qualified paths in struct patterns 2021-08-25 21:18:41 -05:00
issue-5011.rs Adjust non-empty tuple struct span to start before fields 2021-10-12 20:08:07 -05:00
item-brace-style-always-next-line.rs Put empty trait braces on same line if possible 2021-11-05 20:40:49 -05:00
item-brace-style-prefer-same-line.rs
item-brace-style-same-line-where.rs
label_break.rs
large_vec.rs
large-block.rs
lazy_static.rs
let_else.rs Temporary fix rustfmt for let-else 2021-08-30 20:18:41 -05:00
long_field_access.rs
long-match-arms-brace-newline.rs
long-use-statement-issue-3154.rs
loop.rs
macro_not_expr.rs
macro_rules_semi.rs feat: don't insert semi in macro_rules arm body 2020-11-11 18:26:13 -06:00
macro_rules.rs Fix expected macro formatting test output. 2021-01-09 12:11:52 -06:00
macros.rs Forbid adding or removing a block from match arms inside macro calls (#3756) 2019-08-28 20:50:41 +09:00
markdown-comment-with-options.rs
markdown-comment.rs
match_overflow_expr.rs
match-block-trailing-comma.rs Trailing comma on match block goes missing when guard is on its own line 2021-09-20 20:05:52 -05:00
match-flattening.rs
match-nowrap-trailing-comma.rs
match-nowrap.rs
match.rs tests: remove snippets with inner attrs on non-block expressions 2021-05-04 18:38:22 -05:00
max-line-length-in-chars.rs
merge_imports_true_compat.rs Rename merge_imports to imports_granularity and add a Module option. 2021-01-17 11:48:47 -06:00
mod_skip_child.rs
mod-1.rs Implement closing-block procedure without relying on missed_span module (#3691) 2019-07-17 23:07:12 +09:00
mod-2.rs
mulit-file.rs
multiline_string_in_macro_def.rs Try to solve issue3456. (#3556) 2019-10-19 18:19:47 +09:00
multiple.rs
negative-impl.rs Add negative impl test 2020-11-30 23:24:36 -06:00
nested-if-else.rs
nested-visual-block.rs
no_arg_with_commnet.rs
no_new_line_beginning.rs
normalize_doc_attributes_should_not_imply_format_doc_comments.rs
normalize_multiline_doc_attribute.rs
obsolete_in_place.rs
one_line_if_v1.rs
one_line_if_v2.rs
other.rs
paren.rs
paths.rs
pattern-condense-wildcards.rs
pattern.rs Fix broken tuple pattern (#3729) 2019-08-06 11:09:45 +09:00
preserves_carriage_return_for_unix.rs
preserves_carriage_return_for_windows.rs
pub-restricted.rs
raw_identifiers.rs fix: support raw prefix identifiers in statics 2019-10-05 12:34:48 -05:00
remove_blank_lines.rs
reorder-impl-items.rs
should_not_format_string_when_format_strings_is_not_set.rs Try to solve issue3456. (#3556) 2019-10-19 18:19:47 +09:00
single-line-if-else.rs
skip_mod.rs
skip.rs
soft-wrapping.rs
space-not-before-newline.rs
spaces-around-ranges.rs
statements.rs fix: maintain redundant semis on items in statement pos 2021-01-09 12:11:52 -06:00
static.rs
string_punctuation.rs
string-lit-2.rs
string-lit-custom.rs
string-lit.rs
struct_lits_multiline.rs
struct_lits_visual_multiline.rs
struct_lits_visual.rs
struct_lits.rs
struct_tuple_visual.rs
struct-field-attributes.rs
structs.rs feat: support struct/slice destructuring 2020-11-28 17:41:21 -06:00
trailing_commas.rs
trailing-comma-never.rs
trait.rs Preserve visibility on trait items inside trait and impl 2021-08-22 12:06:18 -05:00
try_block.rs Add some basic tests for try{} expressions 2020-11-02 18:31:51 -06:00
try-conversion.rs
tuple_v2.rs feat: v2 support for nested tuples w/o spaces 2020-11-02 18:31:51 -06:00
tuple.rs feat: v2 support for nested tuples w/o spaces 2020-11-02 18:31:51 -06:00
type_alias.rs
type-ascription.rs
type.rs Fix rustfmt test 2021-08-27 11:53:03 +00:00
unicode.rs handle unicode chars in closures (#3632) 2019-06-17 08:53:17 +09:00
unindent_if_else_cond_comment.rs
unions.rs
unsafe-mod.rs Add regression test for unsafe mods 2020-09-23 00:45:18 -05:00
visibility.rs
visual-fn-type.rs
where-clause-rfc.rs
where-clause.rs
width-heuristics.rs
wrap_comments_should_not_imply_format_doc_comments.rs