rust/tests/source/configs
Seiichi Uchida 56c6d73d82 Reorder modules
Add `reorder_modules` config option.

Two things we must keep in mind when reordering modules:
1. We should not reorder modules with attributes, as doing so could
   potentially break the code (e.g. `#[macro_use]`).
2. We should not reorder inline modules e.g. `mod foo { /* .. */ }`.
   We should only reorder module declarations e.g. `mod foo;`.

Some open questions:
1. Should we bring modules with `pub` in front of those without `pub`
   so that they stand out from others?
2. Instead of keeping modules with attributes in the same place,
   can we bring them in front of others? Is this safe?
2018-01-29 21:59:15 +09:00
..
blank_lines_lower_bound Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
brace_style Moving test files to satisfy verify_config_test_names test 2017-12-28 10:29:48 -08:00
comment_width Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
condense_wildcard_suffixes Moving test files to satisfy verify_config_test_names test 2017-12-28 10:29:48 -08:00
control_brace_style Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
disable_all_formatting Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
empty_item_single_line Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
error_on_line_overflow Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
fn_args_density Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
fn_single_line Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
force_explicit_abi Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
force_multiline_block Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
format_strings Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
hard_tabs Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
indent_style Moving test files to satisfy verify_config_test_names test 2017-12-28 10:29:48 -08:00
match_arm_blocks Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
match_block_trailing_comma Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
merge_derives Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
normalize_comments Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
reorder_imported_names Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
reorder_imports Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
reorder_imports_in_group Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
reorder_modules Reorder modules 2018-01-29 21:59:15 +09:00
space_before_colon Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
spaces_around_ranges Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
spaces_within_parens_and_brackets Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
struct_field_align_threshold Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
struct_lit_single_line Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
tab_spaces Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
trailing_comma Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
type_punctuation_density Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
use_try_shorthand Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
where_single_line Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00
wrap_comments Moving config option tests to subdirectory 2017-12-28 10:29:48 -08:00