rust/tests/target
tdanniels b944a32e5c
Prevent ICE when formatting an empty-ish macro arm (#5833)
Fixes 5730

Previously rustfmt was attempting to slice a string with an invalid
range (`start > end`), leading to the ICE.

When formatting a macro transcriber snippet consisting of a lone
semicolon, the snippet was being formatted into the empty string,
leading the enclosing `fn main() {\n}` added by `format_code_block` to
be formatted into `fn main() {}`. However, rustfmt was assuming that the
enclosing function string's length had been left unchanged. This was
leading to an invalid range being constructed when attempting to trim
off the enclosing function.

The fix is to just clamp the range's start to be less than or equal
to the range's end, since if `end < start` there's nothing to iterate
over anyway.
2023-07-18 20:48:57 -05:00
..
alignment_2633
binop-separator-back Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
cfg_if Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
cfg_mod
comments-in-lists Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
configs wrap else to next line if let-else pattern is multi-lined 2023-07-01 01:06:35 -05:00
fn-single-line
format_strings
imports Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt 2022-06-12 22:03:05 -05:00
imports_raw_identifiers Merge commit 'c4416f20dcaec5d93077f72470e83e150fb923b1' into sync-rustfmt 2022-06-22 22:14:32 -05:00
inner-module-path
issue-1210
issue-2179
issue-2482
issue-2534 Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue-2673-nonmodrs-mods
issue-2917
issue-2977
issue-3055
issue-3213
issue-3227
issue-3253
issue-3270
issue-3272
issue-3278
issue-3295
issue-3434
issue-3494
issue-3585
issue-3614
issue-3665
issue-3701
issue-3779
issue-3840
issue-3987 Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue-4036 Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue-4615 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-4656 fix: Avoid incorrect global 'cfg_if' Symbol interning 2021-01-27 19:26:58 -06:00
issue-4689 Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue-4791 Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue-4816 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-4926 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-4984 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-5005 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-5009 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-5012 Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync 2021-11-07 20:37:34 -06:00
issue-5033 Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync 2021-11-07 20:37:34 -06:00
issue-5042 Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue-5066 Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree 2021-12-29 20:49:39 -06:00
issue-5088 Merge commit '8da837185714cefbb261e93e9846afb11c1dc60e' into sync-rustfmt-subtree 2021-12-02 21:35:30 -06:00
issue-5125 Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue-5151 Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree 2021-12-29 20:49:39 -06:00
issue-5157 Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue-5238 Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue-5270 Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue-5797 Add failing test 2023-07-03 12:06:25 -05:00
itemized-blocks Handling of numbered markdown lists. 2023-06-19 20:50:01 -05:00
long-fn-1
nested_skipped
nestedmod
path_clarity
single-line-macro
skip Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree 2021-12-29 20:49:39 -06:00
skip_macro_invocations fix: handle skip_macro_invocations from config file 2023-07-05 17:46:03 -04:00
trailing_comments
5131_crate.rs Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
5131_module.rs Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
5131_one.rs Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
array_comment.rs
assignment.rs
associated_type_bounds.rs
associated_type_defaults.rs
associated-items.rs
associated-types-bounds-wrapping.rs
async_block.rs Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree 2021-12-29 20:49:39 -06:00
async_closure.rs
async_fn.rs
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 Add rustfmt test for formatting for<> before closures 2022-07-12 21:00:13 +04:00
comment2.rs
comment3.rs
comment4.rs
comment5.rs
comment6.rs
comment_crlf_newline.rs
comment-inside-const.rs
comment-not-disappear.rs
comment.rs
comments_unicode.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
comments-fn.rs
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-of-generic-item.rs Recover comments between attrs and generic param 2023-06-11 19:34:36 -05:00
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 Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync 2021-11-07 20:37:34 -06:00
empty-tuple-no-conversion-to-unit-struct.rs
enum.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
existential_type.rs
expr-block.rs
expr-overflow-delimited.rs
expr.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
extern_not_explicit.rs
extern.rs Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05: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
file-lines-item.rs
fn_args_indent-block.rs
fn_args_layout-vertical.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
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 Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
fn-custom-8.rs
fn-custom.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
fn-param-attributes.rs
fn-simple.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
fn-ty.rs
fn.rs
hard-tabs.rs
hello.rs
hex_literal_lower.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
hex_literal_preserve.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
hex_literal_upper.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
if_while_or_patterns.rs
immovable_generators.rs
impl.rs
impls.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
imports_granularity_one.rs Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt 2022-06-12 22:03:05 -05:00
indented-impl.rs
invalid-rust-code-in-doc-comment.rs
issue_1306.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue_3033.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue_3245.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue_3561.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue_3839.rs
issue_3844.rs
issue_3853.rs
issue_3854.rs
issue_3868.rs chore: backport some empty block check fixes 2021-01-27 20:58:42 -06:00
issue_3934.rs
issue_3937.rs Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt 2022-06-12 22:03:05 -05:00
issue_4031.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue_4032.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue_4049.rs refactor: apply heuristic config changes in lib 2021-04-21 21:27:50 -05:00
issue_4057.rs
issue_4086.rs
issue_4110.rs Detect closures assigned to binding in block 2023-01-05 21:29:36 +00:00
issue_4257.rs Stabilize GATs 2022-08-30 23:06:24 -04:00
issue_4322.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue_4350.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue_4374.rs
issue_4467.rs
issue_4475.rs
issue_4522.rs
issue_4528.rs
issue_4545.rs
issue_4573.rs Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt 2022-06-12 22:03:05 -05:00
issue_4579.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue_4584.rs
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 Merge commit '8da837185714cefbb261e93e9846afb11c1dc60e' into sync-rustfmt-subtree 2021-12-02 21:35:30 -06:00
issue_4850.rs Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync 2021-11-07 20:37:34 -06:00
issue_4854.rs Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue_4868.rs Merge commit '4236289b75ee55c78538c749512cdbeea5e1c332' into update-rustfmt 2021-07-25 22:57:19 -05:00
issue_4911.rs Stabilize GATs 2022-08-30 23:06:24 -04:00
issue_4936.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue_4943.rs Stabilize GATs 2022-08-30 23:06:24 -04:00
issue_4954.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue_4963.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue_5027.rs Merge commit '8da837185714cefbb261e93e9846afb11c1dc60e' into sync-rustfmt-subtree 2021-12-02 21:35:30 -06:00
issue_5086.rs Merge commit '8da837185714cefbb261e93e9846afb11c1dc60e' into sync-rustfmt-subtree 2021-12-02 21:35:30 -06:00
issue_5273.rs Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue_5399.rs Merge commit 'c4416f20dcaec5d93077f72470e83e150fb923b1' into sync-rustfmt 2022-06-22 22:14:32 -05:00
issue_5668.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue_5686.rs Adjust enum variant spans to exclude any explicit discriminant 2023-06-19 10:12:19 -05:00
issue_5691.rs fix: use correct span for struct generics 2023-02-16 00:03:36 -05:00
issue_5728.rs Prevent ICE when calling parse_attribute in parse_cfg_if_inner 2023-04-01 13:21:12 -05:00
issue_5729.rs Prevent ICE when calling parse_attribute without an attribute 2023-06-19 09:58:12 -05:00
issue_5730.rs Prevent ICE when formatting an empty-ish macro arm (#5833) 2023-07-18 20:48:57 -05: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
issue-1021.rs
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 Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
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
issue-2794.rs
issue-2810.rs
issue-2835.rs
issue-2863.rs
issue-2869.rs
issue-2896.rs
issue-2916.rs
issue-2922.rs
issue-2927-2.rs
issue-2927.rs
issue-2930.rs
issue-2936.rs
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 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-3182.rs
issue-3184.rs
issue-3194.rs
issue-3198.rs
issue-3217.rs Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
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
issue-3639.rs
issue-3645.rs
issue-3651.rs
issue-3672.rs
issue-3675.rs
issue-3709.rs
issue-3711.rs
issue-3717.rs
issue-3718.rs
issue-3740.rs
issue-3741.rs
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
issue-3759.rs
issue-3786.rs
issue-3787.rs
issue-3815.rs
issue-3845.rs
issue-3882.rs
issue-3974.rs
issue-4018.rs
issue-4020.rs
issue-4029.rs
issue-4041.rs Lists doc comments fix4041 (#5560) 2023-02-01 21:26:12 -06:00
issue-4068.rs
issue-4079.rs
issue-4115.rs
issue-4120.rs
issue-4152.rs
issue-4159.rs
issue-4210-disabled.rs Test that with all comment wrapping disabled table comments are not wrapped 2023-01-29 16:47:06 -06:00
issue-4210.rs Test that both table headers and values are not wrapped 2023-01-29 16:47:06 -06:00
issue-4243.rs
issue-4244.rs
issue-4245.rs
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
issue-4382.rs
issue-4398.rs
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 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-4577.rs
issue-4603.rs Fix for issue 4603 about extra macro body indentation (third version) 2021-02-17 20:19:27 -06:00
issue-4643.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue-4646.rs Added 4646 test case 2021-01-27 20:58:42 -06:00
issue-4908-2.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-4908.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-5011.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
issue-5023.rs Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
issue-5030.rs Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt 2022-06-12 22:03:05 -05:00
issue-5095.rs Merge commit '8da837185714cefbb261e93e9846afb11c1dc60e' into sync-rustfmt-subtree 2021-12-02 21:35:30 -06:00
issue-5234.rs Fix #5234 - handling of empty code block (#5601) 2023-01-29 12:55:14 -06:00
issue-5260.rs Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt 2022-06-12 22:03:05 -05:00
issue-5358.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
issue-5488.rs Fix #5488 - prevent shorthand init for tuple struct 2023-02-01 21:33:19 -06:00
issue-5586.rs added tests (#5619) 2023-01-28 15:18:52 -06:00
issue-5791.rs Rewrite float literals ending in dots with parens in method calls 2023-07-03 12:03:12 -05:00
item-brace-style-always-next-line.rs Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync 2021-11-07 20:37:34 -06: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 implement single_line_let_else_max_width 2023-07-01 01:06:35 -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
macro_rules.rs Fix expected macro formatting test output. 2021-01-09 12:11:52 -06:00
macros.rs fix tests 2023-05-01 16:15:17 +08:00
markdown-comment-with-options.rs
markdown-comment.rs
match_overflow_expr.rs
match-block-trailing-comma.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
match-flattening.rs
match-nowrap-trailing-comma.rs
match-nowrap.rs
match.rs Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree 2021-12-29 20:49:39 -06: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
mod-2.rs
mulit-file.rs
multiline_string_in_macro_def.rs
multiple.rs
negative-bounds.rs Rustfmt support for negative bounds, test 2023-05-02 22:36:25 +00:00
negative-impl.rs
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
preserves_carriage_return_for_unix.rs
preserves_carriage_return_for_windows.rs
pub-restricted.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
raw_identifiers.rs
remove_blank_lines.rs
reorder-impl-items.rs
should_not_format_string_when_format_strings_is_not_set.rs
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_field_doc_comment.rs Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt 2022-06-12 22:03:05 -05:00
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
trailing_commas.rs
trailing-comma-never.rs
trait.rs Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
try_block.rs
try-conversion.rs
tuple_v2.rs
tuple.rs Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00
type_alias.rs
type.rs fix tests 2023-05-01 16:15:17 +08:00
unicode.rs
unindent_if_else_cond_comment.rs
unions.rs
unsafe-mod.rs
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 Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt 2023-01-24 14:16:03 -06:00