rust/tests/source/configs
Yacin Tmimi fe8b72d98e implement single_line_let_else_max_width
This allows users to configure the maximum length of a single line
`let-else` statements. `let-else` statements that otherwise meet the
requirements to be formatted on a single line will have their divergent
`else` block formatted over multiple lines if they exceed this length.

**Note**: `single_line_let_else_max_widt` will be introduced as a stable
configuration option.
2023-07-01 01:06:35 -05:00
..
blank_lines_lower_bound
brace_style
chain_width Add some basic tests for chain_width use 2021-04-21 21:27:50 -05:00
comment_width
condense_wildcard_suffixes
control_brace_style
disable_all_formatting
doc_comment_code_block_width Add width for codeblocks in comments (#5372) 2022-06-16 22:15:16 -05:00
empty_item_single_line
enum_discrim_align_threshold
error_on_line_overflow
fn_params_layout Deprecate and Rename fn_args_layout -> fn_params_layout 2022-07-12 19:33:53 -05:00
fn_single_line
force_explicit_abi
force_multiline_block
format_generated_files Support @generated marker to skip code formatting 2021-09-14 21:22:26 -05:00
format_macro_bodies
format_macro_matchers
format_strings
group_imports group_imports: test and document non-consecutive imports 2022-04-11 17:46:33 -05:00
hard_tabs
imports_layout Rename merge_imports to imports_granularity and add a Module option. 2021-01-17 11:48:47 -06:00
indent_style
match_arm_blocks
match_arm_leading_pipes fix: correct arm leading pipe check (#4880) 2021-07-25 22:53:32 -05:00
match_block_trailing_comma
merge_derives
normalize_comments
normalize_doc_attributes
remove_nested_parens
reorder_impl_items
reorder_imports
reorder_modules
short_array_element_width_threshold Add short_item_threshold config option 2022-03-21 16:56:09 -05:00
single_line_let_else_max_width implement single_line_let_else_max_width 2023-07-01 01:06:35 -05:00
skip_children
space_before_colon
spaces_around_ranges
struct_field_align_threshold
struct_lit_single_line
tab_spaces
trailing_comma
type_punctuation_density
use_field_init_shorthand
use_small_heuristics implement single_line_let_else_max_width 2023-07-01 01:06:35 -05:00
use_try_shorthand
where_single_line
wrap_comments