Commit Graph

3611 Commits

Author SHA1 Message Date
csmoe
08da30d72c update rustc_ap_*-v156 (#2772) 2018-06-06 17:08:07 +09:00
Nick Cameron
da30d235a4
Merge pull request #2771 from topecongiro/issue-2746
Fix poor formatting of impls
2018-06-06 14:38:42 +12:00
Nick Cameron
576e9af0ae
Merge pull request #2769 from topecongiro/issue-2765
Put each nested import on its own line
2018-06-06 14:37:25 +12:00
Seiichi Uchida
d96d853b5c Fix up tests for empty impls 2018-06-06 10:56:07 +09:00
Seiichi Uchida
356a0c4b58 Add a test for #2746 2018-06-06 10:55:56 +09:00
Seiichi Uchida
a4db62368b Respect empty_item_single_line config option when formatting empty impls 2018-06-06 10:55:25 +09:00
Seiichi Uchida
d51b99f5d7 Put the where clause next to the closing bracket only when it is not indented 2018-06-06 10:54:40 +09:00
Seiichi Uchida
2e4376d29c Do not put where clause on a single with multi-lined type 2018-06-06 10:46:49 +09:00
Seiichi Uchida
8d01496c9e Remove unreachable lines 2018-06-06 10:46:18 +09:00
Seiichi Uchida
42ab258757 Put each nested import on its own line
while putting non-nested imports on the same line as much as possible.
2018-06-05 19:58:44 +09:00
Seiichi Uchida
35fee77d39 Add a test for #2765 2018-06-05 19:58:28 +09:00
Seiichi Uchida
0204dcbd98 Update tests 2018-06-05 19:58:21 +09:00
Nick Cameron
f545dfe95e Fix tests 2018-06-05 20:58:02 +12:00
Nick Cameron
95b4978baa
Merge pull request #2767 from topecongiro/issue-2759
Fix breaking code block with `#` in doc comments
2018-06-05 20:28:32 +12:00
Nick Cameron
9e208cb13a
Merge pull request #2768 from king6cong/master
update rustfmt flags that should work without targets
2018-06-05 20:09:29 +12:00
king6cong
56a3d039ce update rustfmt flags that should work without targets 2018-06-05 15:43:48 +08:00
Seiichi Uchida
604764abe1 Trim custom comment prefix even when we failed to format code block 2018-06-05 15:58:14 +09:00
Seiichi Uchida
1b4778d0bc Handle code block with indented escapce character 2018-06-05 15:57:49 +09:00
Seiichi Uchida
a70213b009 Trim custom comment prefixes from code block without closing backticks 2018-06-05 15:57:03 +09:00
Seiichi Uchida
e4125ff96a Add a test for #2759 2018-06-05 15:56:51 +09:00
Nick Cameron
d9149fb52e
Merge pull request #2741 from csmoe/where_brace
Remove newline in empty impl
2018-06-05 18:04:22 +12:00
Nick Cameron
9f535de503
Merge pull request #2766 from topecongiro/issue-2761
Allow using mixed layout with comments
2018-06-05 18:03:51 +12:00
Seiichi Uchida
b4987d848b Allow using mixed layout with comments 2018-06-05 13:43:01 +09:00
Seiichi Uchida
b9631d1209 Add a test for #2761 2018-06-05 13:42:58 +09:00
csmoe
faa41168a9 format exceeded comments 2018-06-05 07:35:51 +08:00
csmoe
8874c95a00 recover suppressed comma 2018-06-04 19:10:09 +08:00
Nick Cameron
4e09e5479c
Merge pull request #2751 from topecongiro/issue-2749
Fix treating the delimiter right after repeat as repeat as well
2018-06-04 14:11:40 +12:00
Nick Cameron
1903879d88
Merge pull request #2747 from alexheretic/master
Add atom rls rustfmt usage guide
2018-06-04 14:04:50 +12:00
csmoe
d46852b3f7 fix tests 2018-05-31 18:34:06 +08:00
csmoe
0468c134f4 snuggle where 2018-05-31 18:33:45 +08:00
csmoe
8536c288f2 suppress and compress 2018-05-31 17:58:48 +08:00
Alex Butler
6c14dba4e9
Add atom rls rustfmt usage guide 2018-05-30 09:31:20 +01:00
Seiichi Uchida
22602045ab Cargo update 2018-05-30 08:44:57 +09:00
Seiichi Uchida
2f65852946 Do not insert spaces around braces with empty body or multiple lines 2018-05-30 08:44:57 +09:00
Seiichi Uchida
966fe8d705 Fix treating the delimiter right after repeat as repeat as well 2018-05-30 08:44:57 +09:00
Seiichi Uchida
11835ce5ce Add tests for #2749 2018-05-30 08:44:57 +09:00
Alex Butler
f390626778 Update rustc-ap-* -> 149 (#2748) 2018-05-30 08:22:49 +09:00
Seiichi Uchida
3d85084a62
Merge pull request #2745 from alexheretic/master
Update rustc-ap-* -> 148.0.0
2018-05-29 09:05:33 +09:00
Alex Butler
cd925f0140
Add mercy for devs that run cargo test without building 2018-05-29 00:38:47 +01:00
Alex Butler
5473c3fd92 Update rustc-ap-* -> 148 2018-05-28 23:41:08 +01:00
Nick Cameron
173ae0d7b9 0.8.2 2018-05-28 11:47:21 +12:00
Nick Cameron
d930617cbe Make Range public
0.8.1
2018-05-28 11:30:58 +12:00
Nick Cameron
ee5fda8f25 0.8.0 2018-05-28 11:23:14 +12:00
Nick Cameron
8674ab9a42 FIXME for <- 2018-05-28 11:15:15 +12:00
Nick Cameron
50dfd064eb Upgrade again 2018-05-28 11:08:38 +12:00
Nick Cameron
2c275a2f68 Upgrade rustc-ap-syntax 2018-05-28 10:57:13 +12:00
Nick Cameron
869d23a853
Merge pull request #2742 from topecongiro/travis-remove-stdsimd-from-allow-failure
Remove stdsimd from allow-failure crates
2018-05-28 10:19:20 +12:00
Nick Cameron
0a2ec411ae
Merge pull request #2739 from thibaultdelor/fixWindowsTest
Fix test failing on windows due to crlf
2018-05-28 10:13:09 +12:00
topecongiro
c9aceb22b5 Remove stdsimd from allow-failure crates 2018-05-28 07:12:32 +09:00
Nick Cameron
1d5da1011f
Merge pull request #2733 from topecongiro/issue-2727
Trim unnecessary whitespaces between a macro call and a semicolon
2018-05-28 10:12:23 +12:00