rust/tests/target
Yacin Tmimi 2c30fa5a82 Adjust enum variant spans to exclude any explicit discriminant
Fixes 5686

For reference, explicit discriminants were proposed in [RFC-2363].

`ast::Variant` spans extend to include explicit discriminants when they
are present.

Now we'll adjust the span of enum variants to exclude any explicit
discriminant.

[RFC-2363]: https://rust-lang.github.io/rfcs/2363-arbitrary-enum-discriminant.html
2023-06-19 10:12:19 -05:00
..
alignment_2633
binop-separator-back Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -05:00
cfg_if Fix typos (#5486) 2022-08-06 18:53:03 -05:00
cfg_mod
comments-in-lists Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree 2022-03-29 23:17:30 -05:00
configs Deprecate and Rename fn_args_layout -> fn_params_layout 2022-07-12 19:33:53 -05:00
fn-single-line Format the last expression-statement as expression (#3631) 2019-06-17 08:53:39 +09:00
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 fix: inner attribute formatting 2020-09-04 19:01:18 -05:00
issue-1210
issue-2179
issue-2482
issue-2534 Add tests for issue 2534 2022-07-19 17:07:01 -05:00
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-3987 Add test for issue 3987 2022-07-28 19:13:10 -05: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 fix: version gate changes for multiline single generic bound 2023-01-24 11:38:44 -06:00
issue-4791 Deprecate and Rename fn_args_layout -> fn_params_layout 2022-07-12 19:33:53 -05: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
itemized-blocks
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 feat: add skip_macro_invocations option (#5347) 2022-07-12 19:31:19 -05:00
trailing_comments handle hard tabs when formatting trailing comments (#3836) 2019-10-07 16:40:27 +09:00
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 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 Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree 2021-12-29 20:49:39 -06:00
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 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 Implement closing-block procedure without relying on missed_span module (#3691) 2019-07-17 23:07:12 +09:00
comments_unicode.rs Unicode comment align (#5505) 2022-08-18 18:44:29 -05: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-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 Fix typos (#5486) 2022-08-06 18:53:03 -05: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 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 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 Deprecate and Rename fn_args_layout -> fn_params_layout 2022-07-12 19:33:53 -05: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 Deprecate and Rename fn_args_layout -> fn_params_layout 2022-07-12 19:33:53 -05:00
fn-custom-8.rs
fn-custom.rs Deprecate and Rename fn_args_layout -> fn_params_layout 2022-07-12 19:33:53 -05:00
fn-param-attributes.rs feat: support parameter attributes (#3793) 2019-09-20 16:11:52 +09:00
fn-simple.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
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 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 Add test case for issue 1306 which was resolved 2022-07-09 19:59:09 -05:00
issue_3033.rs Add test for issue 3033 2022-07-19 17:00:37 -05:00
issue_3245.rs Add tests for 3245 and 3561 2022-07-20 21:37:12 -05:00
issue_3561.rs Add tests for 3245 and 3561 2022-07-20 21:37:12 -05:00
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_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 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 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 Add test for issue 4350 2022-07-25 20:11:32 -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_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 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 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 fix: correct span for structs with const generics 2023-01-23 12:55:02 -05: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-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 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 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 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 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-4041.rs Lists doc comments fix4041 (#5560) 2023-02-01 21:26:12 -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-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 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 Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree 2021-10-20 00:11:59 -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-4643.rs Improvements: Adding tests for the issue-4643. 2022-07-26 13:06:10 -04: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 Fix/comments inside trait generics gets duplicated (#5446) 2022-07-17 21:39:25 -04: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
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 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 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 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 Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
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_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 feat: support struct/slice destructuring 2020-11-28 17:41:21 -06:00
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 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 Fix typos (#5486) 2022-08-06 18:53:03 -05: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 Fix typos (#5486) 2022-08-06 18:53:03 -05:00