Nick Cameron
|
4bbd5c4ae5
|
Merge pull request #2681 from topecongiro/issue-2680
Error on self_tests when there are lines that exceed max width
|
2018-05-07 11:20:33 +12:00 |
|
topecongiro
|
51c07f4335
|
Fix up lines exceeding max width
|
2018-05-06 16:17:09 +09:00 |
|
topecongiro
|
5f05987211
|
Use rustfmt.toml when running self_tests
|
2018-05-06 16:16:58 +09:00 |
|
topecongiro
|
1f738ea208
|
Cargo fmt
|
2018-05-06 15:22:29 +09:00 |
|
topecongiro
|
f8439ce8fe
|
Put operands on its own line when each fits in a single line
|
2018-05-06 15:22:17 +09:00 |
|
topecongiro
|
f885039e6c
|
Do not overflow a long item
Take the first line's width of a single item into account when
trying to overflow something.
Closes #2676.
|
2018-05-06 12:12:16 +09:00 |
|
Nick Cameron
|
17b04f181d
|
Merge pull request #2677 from csmoe/remove_nested_parens_opt
Add remove nested parens option
|
2018-05-06 14:01:17 +12:00 |
|
Nick Cameron
|
0cc4a8d848
|
Update rustc_ap_syntax
|
2018-05-06 09:57:26 +12:00 |
|
Nick Cameron
|
0f8029f251
|
Use a different env var for the test directory
|
2018-05-06 08:23:26 +12:00 |
|
csmoe
|
7c246344f8
|
remove nested parens option
|
2018-05-05 23:13:49 +08:00 |
|
Nick Cameron
|
4a57e79469
|
Merge pull request #2667 from tspiteri/width-heuristics
Do not scale WidthHeuristics when max_width less than 100
|
2018-05-04 11:46:28 +12:00 |
|
Nick Cameron
|
b6cd17f28a
|
Fix test bug (again)
|
2018-05-04 09:35:56 +12:00 |
|
Nick Cameron
|
a06caf6b17
|
Merge pull request #2671 from csmoe/merge_mix
Make imports_layout = "Mixed" addressed
|
2018-05-03 20:08:16 +12:00 |
|
csmoe
|
8c8676cd30
|
fix merge_mix
|
2018-05-03 10:26:53 +08:00 |
|
Nick Cameron
|
4a4916920f
|
Make test temp files in the Cargo target directory, if known
|
2018-05-03 11:14:01 +12:00 |
|
Trevor Spiteri
|
48df8f8dc0
|
Add test for width heuristics
|
2018-05-02 11:38:23 +02:00 |
|
Trevor Spiteri
|
9b36156020
|
Do not scale WidthHeuristics when max_width less than 100
|
2018-05-02 10:38:02 +02:00 |
|
Nick Cameron
|
36c49d703a
|
Merge pull request #2666 from topecongiro/issue-2634
Avoid flip-flopping impl items when reordering them
|
2018-05-02 10:28:46 +12:00 |
|
Nick Cameron
|
c3bdd3aa90
|
Merge pull request #2665 from topecongiro/issue-2647
Use correct one line width for list attribute
|
2018-05-02 10:26:49 +12:00 |
|
Nick Cameron
|
d8982e5efe
|
Suppress warning about unused attribute
|
2018-05-02 10:18:14 +12:00 |
|
topecongiro
|
43df7dcb0e
|
Run cargo fmt with reorder_impl_items set to true
|
2018-04-30 16:24:01 +09:00 |
|
topecongiro
|
37c216c50f
|
Use bytepos to compare impl items
|
2018-04-30 16:19:52 +09:00 |
|
topecongiro
|
48e193c7f6
|
Factor out visit_impl_items
|
2018-04-30 16:13:51 +09:00 |
|
topecongiro
|
61a401ae51
|
Use correct one line width for list attribute
Closes #2647.
|
2018-04-30 15:49:32 +09:00 |
|
Nick Cameron
|
e554d8617d
|
Merge branch 'master' into imports_indent
|
2018-04-30 11:50:53 +12:00 |
|
Nick Cameron
|
1b7195695a
|
Merge pull request #2663 from csmoe/config_curr
set stdin default config path to current dir
|
2018-04-30 11:20:04 +12:00 |
|
Nick Cameron
|
ffaa6fcb0c
|
Merge pull request #2661 from topecongiro/issue-2645
Preserve comments between attribute and use item
|
2018-04-30 11:10:48 +12:00 |
|
Nick Cameron
|
af5976cf1e
|
Merge pull request #2659 from topecongiro/issue-2652
Do not add a trailing comma on array inside macro
|
2018-04-30 11:07:33 +12:00 |
|
Nick Cameron
|
dae9fb64b6
|
Merge pull request #2656 from topecongiro/issue-2594
Use consistent formatting for empty enum and struct
|
2018-04-30 11:06:33 +12:00 |
|
csmoe
|
be3be582cc
|
set stdin default config path to curr
|
2018-04-29 21:40:37 +08:00 |
|
csmoe
|
f7415bcea2
|
update self format
|
2018-04-29 20:53:31 +08:00 |
|
csmoe
|
c9cef5db17
|
import_indent to Block
|
2018-04-29 19:57:49 +08:00 |
|
Ryan Leung
|
fb9a5add9b
|
add rustc_target to dependencies (#2660)
|
2018-04-28 16:08:58 +09:00 |
|
topecongiro
|
0c5631e4c1
|
Use correct span for UseTree
|
2018-04-28 16:05:02 +09:00 |
|
topecongiro
|
a159b64b0a
|
Preserve comments between attribute and use item
|
2018-04-28 16:04:09 +09:00 |
|
topecongiro
|
43890cff6b
|
Preserve trailing comma inside array
Closes #2652.
|
2018-04-28 15:09:54 +09:00 |
|
topecongiro
|
e512c19ed5
|
Use format_empty_struct_or_tuple over format_missing_no_indent
Closes #2594.
|
2018-04-28 14:03:14 +09:00 |
|
topecongiro
|
fb0c6affa5
|
Use format_empty_struct_or_tuple
|
2018-04-28 13:59:54 +09:00 |
|
topecongiro
|
82d8dd2f4b
|
Factor out a formatting routine for empty struct and tuple
|
2018-04-28 13:59:03 +09:00 |
|
topecongiro
|
a955365459
|
Use a glob import for import utils
|
2018-04-28 13:24:05 +09:00 |
|
Nick Cameron
|
d19fc450c0
|
Merge pull request #2650 from thibaultdelor/useFailureCrate
Use failure crate
|
2018-04-27 15:14:47 +12:00 |
|
Nick Cameron
|
0f4ed08d0e
|
Harden tests to not rely on CWD
|
2018-04-27 11:13:05 +12:00 |
|
Tibo
|
e06c9c8c53
|
Allow io::Error to live longer before being wrapped in a failure::Error
|
2018-04-26 14:39:10 +10:00 |
|
Tibo
|
b7df23c3d5
|
Replace completely std::error with failure crate
|
2018-04-26 13:48:48 +10:00 |
|
Tibo
|
5581be2616
|
Use failure for FormattingError
|
2018-04-26 12:18:30 +10:00 |
|
Tibo
|
efb8069cfc
|
Replace std::Error with failure for FormatDiff
|
2018-04-26 12:18:20 +10:00 |
|
Seiichi Uchida
|
ac8ae00625
|
Cargo update and clippy (#2643)
|
2018-04-25 07:21:23 +09:00 |
|
Roman Stoliar
|
5b5a72c840
|
keep auto trait
|
2018-04-20 17:31:31 +03:00 |
|
Nick Cameron
|
866900449a
|
Make some more stuff private
0.6
|
2018-04-20 22:10:48 +12:00 |
|
Nick Cameron
|
ca610d35b3
|
Refactor to make a sensible public API
0.5 - lots of breaking changes
cc #2639
|
2018-04-20 21:52:02 +12:00 |
|