rust/tests
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
..
config Remove where_density and where_layout options 2017-11-24 21:08:24 +13:00
coverage simplify tests 2016-04-05 02:45:39 +03:00
source Reorder modules 2018-01-29 21:59:15 +09:00
target Reorder modules 2018-01-29 21:59:15 +09:00
writemode Reformat tests 2017-06-13 14:42:54 +12:00
system.rs Merge pull request #2350 from topecongiro/issue-2324 2018-01-12 17:27:45 +13:00