rust/tests/source
Yacin Tmimi 06e16449d2 Add test cases for issue 4381
This was one of the original issues filed against rustfmt that discussed
using a natural sort order instead of a lexicographical order. At the
time it was closed, but now that we're supporting version-sorting in
`style_edition=2024` I thought it would be good to add a test case.
2024-09-03 15:21:36 -04:00
..
alignment_2633
arrow_in_comments refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
binop-separator-back
cfg_if rustfmt: Remove has_cpuid from test 2024-08-02 02:12:29 -07:00
cfg_mod
comments-in-lists
configs feat: implement 2024 Style Edition for expr overflows 2024-08-27 20:49:15 -05:00
fn-single-line refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
imports
imports_raw_identifiers
issue-1210
issue-2179 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-2482
issue-2917
issue-2977
issue-3055
issue-3213 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3227 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3253
issue-3270 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3272 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3278 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3295 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3434
issue-3494
issue-3585
issue-3665
issue-3701 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3779
issue-3840 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3987
issue-4036
issue-4381 Add test cases for issue 4381 2024-09-03 15:21:36 -04:00
issue-4615
issue-4656
issue-4689 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-4791
issue-4816
issue-4926
issue-4984
issue-5042
issue-5088
issue-5157
issue-5238
issue-5270
issue-5655 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-5801 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-5852 Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue-5987 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-6059 Merge commit 'e4944185ae09c99f59b460e358909f329010ea9c' into sync-from-rustfmt-24-06 2024-06-22 15:33:45 -05:00
issue-6147 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
itemized-blocks
long-fn-1 refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
macros Check that a token can begin a nonterminal kind before parsing it as a macro arg in rustfmt 2024-01-22 01:49:33 +00:00
nested_skipped
nestedmod
path_clarity
postfix-match Add basic rustfmt implementation & test 2024-03-06 00:51:45 -05:00
single-line-macro refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
skip_macro_invocations Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
trailing_comments refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
5131_crate.rs
5131_module.rs
5131_one.rs
array_comment.rs
assignment.rs
associated_type_bounds.rs
associated-types-bounds-wrapping.rs
async_block.rs
async_fn.rs
attrib.rs Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco" 2024-06-06 20:39:54 +00:00
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.rs
comments_unicode.rs
const_generics.rs
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
enum.rs
existential_type.rs
expr-block.rs
expr-overflow-delimited.rs
expr.rs
extern_not_explicit.rs
extern.rs
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
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
fn-simple.rs
hard-tabs.rs
hello2.rs
hello.rs
hex_literal_lower.rs
hex_literal_upper.rs
if_while_or_patterns.rs
immovable_coroutines.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
impls.rs
imports_granularity_one.rs
invalid-rust-code-in-doc-comment.rs
issue_1306.rs
issue_3245.rs
issue_3561.rs
issue_3839.rs
issue_3844.rs
issue_3853.rs
issue_3868.rs
issue_4032.rs
issue_4057.rs
issue_4086.rs
issue_4257.rs
issue_4322.rs
issue_4374.rs
issue_4475.rs
issue_4528.rs
issue_4579.rs
issue_4584.rs
issue_4636.rs
issue_4675.rs
issue_4823.rs
issue_4854.rs
issue_4911.rs
issue_4943.rs
issue_4954.rs
issue_4963.rs
issue_5027.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue_5086.rs
issue_5686.rs
issue_5721.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue_5730.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue_5735.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue_5882.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue_5912.rs Merge commit 'e4944185ae09c99f59b460e358909f329010ea9c' into sync-from-rustfmt-24-06 2024-06-22 15:33:45 -05:00
issue-447.rs
issue-510.rs
issue-539.rs
issue-683.rs
issue-811.rs
issue-850.rs
issue-855.rs
issue-913.rs
issue-945.rs
issue-977.rs
issue-1021.rs
issue-1049.rs
issue-1111.rs
issue-1120.rs
issue-1124.rs
issue-1127.rs
issue-1158.rs
issue-1177.rs
issue-1192.rs
issue-1211.rs
issue-1216.rs
issue-1239.rs
issue-1278.rs
issue-1350.rs
issue-1366.rs
issue-1468.rs
issue-1693.rs
issue-1800.rs
issue-1914.rs
issue-2025.rs
issue-2111.rs
issue-2164.rs
issue-2256.rs
issue-2342.rs
issue-2445.rs
issue-2446.rs
issue-2479.rs
issue-2496.rs
issue-2520.rs
issue-2523.rs
issue-2582.rs
issue-2641.rs
issue-2644.rs
issue-2728.rs
issue-2761.rs
issue-2781.rs
issue-2794.rs
issue-2835.rs
issue-2863.rs
issue-2869.rs
issue-2896.rs
issue-2916.rs
issue-2922.rs
issue-2927-2.rs Remove edition umbrella features. 2023-12-10 13:03:28 -08:00
issue-2927.rs Remove edition umbrella features. 2023-12-10 13:03:28 -08:00
issue-2930.rs
issue-2936.rs
issue-2955.rs
issue-2973.rs
issue-2985.rs
issue-2995.rs
issue-3029.rs
issue-3038.rs
issue-3049.rs
issue-3059.rs
issue-3066.rs
issue-3131.rs
issue-3153.rs
issue-3158.rs
issue-3194.rs
issue-3198.rs
issue-3217.rs
issue-3234.rs
issue-3241.rs
issue-3265.rs
issue-3302.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3343.rs
issue-3423.rs
issue-3465.rs
issue-3508.rs
issue-3515.rs
issue-3532.rs
issue-3636.rs
issue-3639.rs
issue-3651.rs
issue-3672.rs
issue-3675.rs
issue-3709.rs
issue-3740.rs
issue-3750.rs
issue-3751.rs
issue-3786.rs
issue-3787.rs
issue-3805.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-3984.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue-4018.rs
issue-4041.rs
issue-4079.rs
issue-4120.rs
issue-4243.rs
issue-4244.rs
issue-4245.rs
issue-4312.rs
issue-4382.rs
issue-4398.rs
issue-4427.rs
issue-4530.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-4577.rs
issue-4603.rs
issue-4643.rs
issue-4646.rs
issue-4808.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue-5011.rs
issue-5023.rs
issue-5030.rs
issue-5234.rs
issue-5260.rs
issue-5488.rs
issue-5586.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
issue-5791.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue-5835.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
issue-5935.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
item-brace-style-always-next-line.rs
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_chains.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
let_else_v2.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
let_else.rs Merge commit 'e4944185ae09c99f59b460e358909f329010ea9c' into sync-from-rustfmt-24-06 2024-06-22 15:33:45 -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.rs
macros.rs
markdown-comment-with-options.rs
markdown-comment.rs
match_overflow_expr.rs
match-block-trailing-comma.rs
match-flattening.rs
match-nowrap-trailing-comma.rs
match-nowrap.rs
match.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
max-line-length-in-chars.rs
merge_imports_true_compat.rs
mod_skip_child.rs
mod-1.rs
mod-2.rs
multiple.rs
mut_ref.rs Add rustfmt test for mut ref mut 2024-03-27 16:38:56 -04:00
negative-impl.rs
nested-if-else.rs
no_arg_with_commnet.rs Merge commit 'e4944185ae09c99f59b460e358909f329010ea9c' into sync-from-rustfmt-24-06 2024-06-22 15:33:45 -05:00
no_new_line_beginning.rs
non-lifetime-binders.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
normalize_doc_attributes_should_not_imply_format_doc_comments.rs
normalize_multiline_doc_attribute.rs
one_line_if_v1.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
one_line_if_v2.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
other.rs
paren.rs
paths.rs
pattern-condense-wildcards.rs
pattern.rs
precise-capturing.rs Implement use<> formatting in rustfmt 2024-06-23 10:57:10 -04:00
preserves_carriage_return_for_unix.rs
preserves_carriage_return_for_windows.rs
pub-restricted.rs
remove_blank_lines.rs
reorder-impl-items.rs
single-line-if-else.rs
soft-wrapping.rs
space-not-before-newline.rs
spaces-around-ranges.rs
statements.rs
static.rs
string_punctuation.rs
string-lit-2.rs
string-lit.rs
struct_field_doc_comment.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
trailing_commas.rs
trailing-comma-never.rs
trait.rs
try_block.rs
try-conversion.rs
tuple_v2.rs refactor: switch idempotence/system tests to style_edition 2024-07-28 19:37:36 -05:00
tuple.rs
type_alias.rs
type.rs Remove rustdoc tests which no longer parse 2024-07-11 21:59:28 -04:00
unicode.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