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
..
2018-01-29 21:59:15 +09:00
2017-10-01 21:21:20 +09:00
2017-09-03 08:14:00 +09:00
2017-12-10 23:38:30 +09:00
2017-12-05 10:02:49 +09:00
2017-12-10 21:19:51 +09:00
2017-11-15 15:44:27 +09:00
2017-11-27 20:53:54 +09:00
2017-11-01 07:33:55 +01:00
2017-11-01 07:33:55 +01:00
2017-09-26 11:20:47 +09:00
2017-12-09 16:45:20 +09:00
2017-08-11 17:44:16 +09:00
2017-11-01 07:33:55 +01:00
2017-11-01 07:33:55 +01:00
2017-07-25 00:56:09 +09:00
2017-08-25 08:20:11 +09:00
2017-11-10 17:08:16 +09:00
2017-11-23 12:36:57 +09:00
2017-11-18 15:32:10 +09:00
2017-11-24 12:04:00 +09:00
2018-01-10 21:30:13 +09:00
2017-11-15 12:22:50 +09:00
2017-12-05 17:45:19 +09:00
2017-06-19 11:25:21 +09:00
2017-06-18 02:16:27 +09:00
2017-11-01 07:33:55 +01:00