Commit Graph

3178 Commits

Author SHA1 Message Date
David Alber
d49e22a2b8 Wrapping control_brace_style="AlwaysSameLine" snippet in function 2018-01-16 08:12:31 -08:00
David Alber
368a44b564 Wrapping condense_wildcard_suffixes=true snippet in function 2018-01-16 08:12:31 -08:00
David Alber
c08c706f55 Wrapping condense_wildcard_suffixes=false snippet in function 2018-01-16 08:12:31 -08:00
David Alber
8b010c30fc Getting binop_separator="Front" snippet to pass 2018-01-16 08:12:31 -08:00
David Alber
b23204fc54 Correcting use_small_heuristics=true snippet 2018-01-16 08:12:31 -08:00
David Alber
3a7eb68db9 Correcting indent_style="Block" where predicate snippet 2018-01-16 08:12:31 -08:00
David Alber
e2ffee7cf8 Wrapping indent_style="Visual" struct snippet in function 2018-01-16 08:12:31 -08:00
David Alber
c6a18143a8 Wrapping indent_style="Block" struct snippet in function 2018-01-16 08:12:31 -08:00
David Alber
b56d88f751 Correcting indent_style="Visual" generics snippet 2018-01-16 08:12:31 -08:00
David Alber
2455d60718 Correcting indent_style="Block" generics snippet 2018-01-16 08:12:31 -08:00
David Alber
5180df4988 Wrapping indent_style="Visual" function call snippet in function 2018-01-16 08:12:31 -08:00
David Alber
9fc00aa794 Wrapping indent_style="Block" function call snippet in function 2018-01-16 08:12:31 -08:00
David Alber
48d7fb2db0 Wrapping indent_style="Visual" array snippet in function 2018-01-16 08:12:31 -08:00
David Alber
5673c0fdbf Wrapping indent_style="Block" array snippet in function 2018-01-16 08:12:31 -08:00
Seiichi Uchida
c87bd9e92e
Merge pull request #2367 from Stinners/range_binopts
Fixing binop_separator="Back" for ranges (Issue #2364)
2018-01-16 17:52:09 +09:00
Seiichi Uchida
88cac558d9
Merge pull request #2366 from davidalber/restore-characters
Restoring accidentally-removed characters
2018-01-16 17:51:37 +09:00
David Alber
790611cd82 Restoring characters accidentally removed in bbe4b380 2018-01-15 20:57:28 -08:00
Chris Stinson
4c4e079613 Fixing binop_separator="Back" for ranges
Hardcoded Separator::Place=Front in call to rewrite_pair for range
caused binop_separator="Back" to be hendled incorrectly

Fixed rewrite_pair call and the example in Configuration.md showing
the faulty behaviour
2018-01-16 17:50:20 +13:00
Nick Cameron
13a0bb9158
Merge pull request #2361 from davidalber/fix-binop-separator-back-snippet
Getting `binop_separator="Back"` snippet in Configurations.md to pass
2018-01-16 13:01:02 +13:00
David Alber
bbe4b380c3 Getting binop_separator="Back" to pass 2018-01-15 10:47:35 -08:00
Seiichi Uchida
fa782303a6 0.3.5 2018-01-15 21:34:41 +09:00
Seiichi Uchida
6af94c3188
Merge pull request #2363 from davidalber/reword-config-note
Rewording configuration note
2018-01-15 20:46:22 +09:00
David Alber
49f418b838 Rewording configuration note 2018-01-15 01:41:11 -08:00
Nick Cameron
74a957e80f
Merge pull request #2357 from topecongiro/issue-2342
Put attributes and struct fields on different line by default
2018-01-12 17:32:55 +13:00
Nick Cameron
a7d1d1da0e
Merge pull request #2355 from topecongiro/hide-parse-error-format-snippet
Hide parse error in format_snippet()
2018-01-12 17:31:43 +13:00
Nick Cameron
b356fc06f7
Merge pull request #2352 from topecongiro/issue-2337
Break after colon if static item does not fit in a single line
2018-01-12 17:31:12 +13:00
Nick Cameron
09e44b22f2
Merge pull request #2351 from topecongiro/issue-2256
Use correct BytePos when recovering comments on removed import
2018-01-12 17:30:27 +13:00
Nick Cameron
be0000380b
Merge pull request #2350 from topecongiro/issue-2324
Issue 2324
2018-01-12 17:27:45 +13:00
Seiichi Uchida
41b14b640a
Merge pull request #2353 from davidalber/merge-print-diff
Consolidating the logic for printing output
2018-01-12 08:26:42 +09:00
Seiichi Uchida
1abbd74a7f
Merge pull request #2358 from PSeitz/master
case insensitive FIXME and TODO
2018-01-12 08:26:14 +09:00
David Alber
9f5f9d2250 Consolidating the logic for printing output 2018-01-11 08:02:57 -08:00
Pascal Seitz
2e82ad8c36 case insensitive FIXME and TODO 2018-01-11 11:04:28 +01:00
Seiichi Uchida
fbbaab8051 Update changelog 2018-01-11 17:24:35 +09:00
Seiichi Uchida
2420d346c5 Put attributes and struct fields on different line 2018-01-11 16:57:12 +09:00
Seiichi Uchida
6e05ca87b0 Add a test for #2343 and update tests 2018-01-11 16:53:13 +09:00
Seiichi Uchida
279acda4c4 Remove same_line_attributes config option 2018-01-11 16:52:28 +09:00
Seiichi Uchida
cf4ab38f67 Hide parse error in format_snippet() 2018-01-11 15:19:23 +09:00
Nick Cameron
3e29fe3330 Use published versions of libsyntax and librustc_errors
Rather than the versions shipping with the compiler. These are still unstable,
so nightly is still required, but we can control when we update so breakage should
happen less often.
2018-01-11 18:21:35 +13:00
Nick Cameron
1ced6d1037 Minor refactoring in macros.rs 2018-01-11 17:40:05 +13:00
Seiichi Uchida
eaab51db2e Break after colon if static item does not fit in a single line 2018-01-10 23:23:42 +09:00
Seiichi Uchida
949708f617 Use correct BytePos when recovering comments on removed import 2018-01-10 21:30:41 +09:00
Seiichi Uchida
1e7ff38c2d Add a test for #2256 2018-01-10 21:30:13 +09:00
Seiichi Uchida
727f7b08f2 Fix error message printing wrong file names
The error messsages from `self_test` does not display correct file names
(it just prints `src/lib.rs` for every file). This commit fixes it.
2018-01-10 17:17:18 +09:00
Seiichi Uchida
cb0b366b38 Cargo fmt 2018-01-10 17:17:06 +09:00
Seiichi Uchida
590857db37 Reformat a nested function call with a single newline using larger budget 2018-01-10 17:15:02 +09:00
Seiichi Uchida
60256b7f3d Add a test for #2324 2018-01-10 17:14:50 +09:00
Seiichi Uchida
631bf68037
Merge pull request #2349 from davidalber/configurations-failure-message
Modifying failure messages to be consistent with mismatch message
2018-01-10 16:08:44 +09:00
Seiichi Uchida
2744190512
Merge pull request #2348 from davidalber/remove-unused
Removing unused name
2018-01-10 16:08:16 +09:00
David Alber
d981fb89c0 Removing unused name 2018-01-09 19:56:46 -08:00
David Alber
873abf01b5 Modifying failure messages to be consistent with mismatch message 2018-01-09 08:36:24 -08:00