clubby789
|
a5ba6e025f
|
Remove uses of box_syntax in rustc and tools
|
2023-03-12 13:19:46 +00:00 |
|
Caleb Cartwright
|
4d9fa00fd5
|
feat: support underscore expressions
|
2020-11-28 17:41:21 -06:00 |
|
Caleb Cartwright
|
00e199c974
|
backport new syntax to rustfmt 1.x (#4105)
* feat: support raw reference operator
* feat: support const opt-out syntax
* feat: support half open range syntax
|
2020-03-31 15:28:01 +09:00 |
|
Caleb Cartwright
|
dfe87fe946
|
fix: async expression indentation (#3789)
|
2019-09-11 09:55:18 +09:00 |
|
topecongiro
|
37959a9da7
|
Add a test for #3498
|
2019-04-14 20:44:52 +09:00 |
|
Seiichi Uchida
|
c9479de9a7
|
Avoid panic on macro inside deeply nested block
Closes #3457.
|
2019-03-19 10:50:44 +09:00 |
|
Seiichi Uchida
|
996d5e8d6c
|
Fix shape when formatting return or break expr on statement position (#3259)
|
2018-12-25 18:20:29 +09:00 |
|
Seiichi Uchida
|
4a15875f07
|
Add a test for #3003
and run cargo fmt.
|
2018-09-30 23:28:03 +09:00 |
|
cad97
|
04d804c365
|
Rename CodeMap/FileMap to SourceMap/SourceFile
#2946
|
2018-08-23 17:10:46 -04:00 |
|
Seiichi Uchida
|
cf13534150
|
Add a test for #2884
|
2018-08-04 09:59:19 +09:00 |
|
Nick Cameron
|
229a55248b
|
address reviewer comments
|
2018-07-12 22:21:07 +12:00 |
|
Nick Cameron
|
7a76e5b1b4
|
Add test for #2802
|
2018-07-12 21:37:28 +12:00 |
|
Nick Cameron
|
486f8fd8e7
|
Fixup formatting of tests and source
|
2018-07-12 21:37:28 +12:00 |
|
topecongiro
|
a0206f53d2
|
Add a test for #2782
|
2018-07-01 10:40:47 +09:00 |
|
Stéphane Campinas
|
ad27384cc2
|
removed comment with default: rustfmt-remove_nested_parens
|
2018-06-27 15:28:32 +02:00 |
|
topecongiro
|
d0980655b3
|
Add tests for #2704.
|
2018-05-23 07:22:30 +09:00 |
|
topecongiro
|
680c65dc97
|
Update tests to use the absolute position for small parent heuristic
|
2018-05-08 06:23:14 +09:00 |
|
topecongiro
|
84e5634a1b
|
Update tests
|
2018-05-06 15:14:47 +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 |
|
csmoe
|
7c246344f8
|
remove nested parens option
|
2018-05-05 23:13:49 +08:00 |
|
Shotaro Yamada
|
61d29eb70c
|
Add spaces between consecutive .. ..=
|
2018-04-16 17:33:22 +09:00 |
|
Nick Cameron
|
c416246494
|
Merge pull request #2509 from topecongiro/issue-2493
Overflow the last rhs of a binary expression
|
2018-03-16 07:30:30 +13:00 |
|
Seiichi Uchida
|
9502de14be
|
Update tests
|
2018-03-08 20:25:41 +09:00 |
|
Seiichi Uchida
|
0e660e4c76
|
Add a test for #2493
|
2018-03-08 17:16:42 +09:00 |
|
Nick Cameron
|
4f522794ae
|
Tidy up and pass tests
|
2018-03-02 15:07:13 +13:00 |
|
topecongiro
|
4af2aa3a9e
|
Create rustfmt_core crate
|
2018-02-07 22:48:05 +09:00 |
|
topecongiro
|
366ff40ae7
|
Take the width of block's prefix into account only once
|
2017-12-20 15:44:11 +09:00 |
|
Nick Cameron
|
fc52a4d33f
|
Merge pull request #2173 from topecongiro/assignment-with-100-chars
Assignment whose lhs has 100 chars
|
2017-12-11 17:04:41 +13:00 |
|
topecongiro
|
e90f2e7e27
|
Update tests
|
2017-12-04 12:05:16 +09:00 |
|
topecongiro
|
0f6b4977dd
|
Add a test for #2178
|
2017-11-30 15:00:13 +09:00 |
|
topecongiro
|
c2804589a1
|
Add a test for assignment whose lhs is exactly 100 chars
|
2017-11-21 08:50:55 +09:00 |
|
topecongiro
|
1c702aa252
|
Update tests
|
2017-11-16 17:43:06 +09:00 |
|
Badel2
|
feb7a6a0a6
|
Replace ... by ..= in range expr tests
|
2017-09-27 22:47:34 +02:00 |
|
topecongiro
|
ff30782725
|
Update tests
|
2017-09-15 12:20:58 +09:00 |
|
topecongiro
|
74834c3f7f
|
Update tests
|
2017-08-27 14:41:30 +09:00 |
|
Nick Cameron
|
1f991d00e0
|
Merge pull request #1822 from topecongiro/issue-1172
Remove newlines between list elements for expressions
|
2017-07-27 11:15:53 +12:00 |
|
Seiichi Uchida
|
7c9aee78f0
|
Update tests
|
2017-07-26 22:43:50 +09:00 |
|
topecongiro
|
e523f053a3
|
Format source codes and update tests
|
2017-07-26 16:30:58 +09:00 |
|
Seiichi Uchida
|
a8b0a6e4c5
|
Format source codes and update tests
|
2017-07-20 00:42:00 +09:00 |
|
Seiichi Uchida
|
de403f4f65
|
Use offset_left instead of shrink_left
|
2017-07-20 00:41:36 +09:00 |
|
topecongiro
|
7ab4bdfd85
|
Use correct one line budget when rewriting index
|
2017-07-10 14:23:29 +09:00 |
|
Seiichi Uchida
|
78224a0644
|
Update tests
|
2017-07-10 02:25:26 +09:00 |
|
topecongiro
|
cb48435ff3
|
Format source codes
|
2017-07-05 18:31:37 +09:00 |
|
topecongiro
|
183e3482e5
|
Add a space before range if lhs ends with dot
|
2017-07-04 20:23:57 +09:00 |
|
Nick Cameron
|
2400f39f98
|
Merge pull request #1757 from topecongiro/rfc/combine-array
Rfc: Combine Array
|
2017-07-04 18:22:32 +12:00 |
|
topecongiro
|
c762cf9b43
|
Update tests
|
2017-06-29 11:01:22 +09:00 |
|
topecongiro
|
5f77581763
|
Put multi-lined index on the next line if it fits in one line
|
2017-06-26 07:57:06 +09:00 |
|
topecongiro
|
b5a13602d9
|
Update tests
|
2017-06-20 22:35:16 +09:00 |
|
topecongiro
|
208ff15954
|
Format source codes
|
2017-06-16 08:49:49 +09:00 |
|
topecongiro
|
de10113c74
|
Update tests
Add more patterns and types
|
2017-06-15 16:55:31 +09:00 |
|