Commit Graph

4015 Commits

Author SHA1 Message Date
Nick Cameron
ff1cb7d9f7
Merge pull request #2901 from topecongiro/issue-2760
Use custom path value if one exists when searching modules
2018-08-07 14:53:26 +12:00
Nick Cameron
5c9a2b6c13 Update rustc-ap-syntax 2018-08-07 11:30:44 +12:00
Seiichi Uchida
a201d856d1 Add comment 2018-08-06 22:34:58 +09:00
Seiichi Uchida
4ad1c66001 Use custom path value if one exists when searching modules 2018-08-06 22:28:05 +09:00
Nick Cameron
803d000ed3
Merge pull request #2900 from topecongiro/combine-attrs
Combine function-like attributes
2018-08-06 19:37:05 +12:00
Nick Cameron
e4d560b914
Merge pull request #2897 from topecongiro/issue-2896
Ignore comment in wrap_str
2018-08-06 19:36:03 +12:00
Nick Cameron
8cd6633499
Merge pull request #2892 from topecongiro/issue-2884
Explicitly handle semicolon after the item in statement position
2018-08-06 19:34:44 +12:00
Nick Cameron
f6a76c443e
Merge pull request #2890 from topecongiro/use-builder-pattern-for-ListFormatting
Use builder pattern for ListFormatting
2018-08-06 19:34:08 +12:00
Seiichi Uchida
b1c241ea72 Combine list-like attributes 2018-08-06 08:10:19 +09:00
Seiichi Uchida
19ebfd122c Update test 2018-08-06 08:10:04 +09:00
Seiichi Uchida
7bccc4473c Add a test for chains with comment 2018-08-05 21:04:06 +09:00
Seiichi Uchida
4bbfe0829d Fix chain with many try operators 2018-08-05 21:03:45 +09:00
Seiichi Uchida
e6d814c423 Put comment between chain elements on its original position 2018-08-05 19:55:22 +09:00
Seiichi Uchida
24fccdc45c Factor out functions that extract comments around items 2018-08-05 19:55:03 +09:00
Seiichi Uchida
3ec6de1de8 Add FIXME comment 2018-08-05 15:06:05 +09:00
Seiichi Uchida
49945a14f7 Format 2018-08-05 15:04:48 +09:00
Seiichi Uchida
9e113b5bab Do not handle comment when converting try
As we get faulty span.
2018-08-05 15:03:36 +09:00
Seiichi Uchida
75967f0da2 Add a space before comment that comes after a block-like chain item 2018-08-05 14:37:13 +09:00
Seiichi Uchida
91c058a516 Veto putting a chain with comment in a single line 2018-08-05 14:34:34 +09:00
Seiichi Uchida
caefd218c9 Do not combine short parent and comment 2018-08-05 14:28:20 +09:00
Seiichi Uchida
e6bde923f5 Format comment between chain elements 2018-08-05 14:28:10 +09:00
Seiichi Uchida
844e878d12 Add Comment to ChainItemKind 2018-08-05 14:27:47 +09:00
Seiichi Uchida
fc3ea494ac Make children list in-order
instead of working on reveresed list.
2018-08-05 13:54:28 +09:00
Seiichi Uchida
c480309aad Get correct span 2018-08-05 13:35:33 +09:00
Seiichi Uchida
c20bf454c9 Add Span field to ChainItem 2018-08-05 13:02:24 +09:00
Seiichi Uchida
c5b36f53ae Normalize chain elements
Instead of passing around a list of subexpressions ([`a`, `a.b`, `a.b.c`]),
we now use a list of chain element ([`a`, `.b`, `.c`]). This should make it
easier to extract comments between chain elements.
2018-08-05 11:45:05 +09:00
Seiichi Uchida
86ee126052
Merge pull request #2895 from topecongiro/issue-2787
Fix parsing '#'-hiding of rustdoc
2018-08-05 11:43:43 +09:00
Seiichi Uchida
7f1ae06568
Merge pull request #2898 from topecongiro/fix-travis
Remove before_script
2018-08-05 11:43:09 +09:00
Seiichi Uchida
7e4b36632c Remove before_script 2018-08-05 11:14:00 +09:00
Seiichi Uchida
2eeb366311 Ignore comment in wrap_str 2018-08-05 10:50:43 +09:00
Seiichi Uchida
c19569c5d3 Add a test for #2896 2018-08-05 10:50:24 +09:00
Seiichi Uchida
ac9d8040db Remove stdsimd from allow_failures 2018-08-05 08:45:02 +09:00
Seiichi Uchida
2eca09e438 Fix parsing '#'-hiding of rustdoc 2018-08-05 08:44:20 +09:00
Seiichi Uchida
b2a80f9942
Merge pull request #2894 from gnzlbg/packed_simd
add integration test rust-lang-nursery/packed_simd
2018-08-05 08:43:59 +09:00
gnzlbg
76493a0178 add integration test rust-lang-nursery/packed_simd 2018-08-04 11:33:01 +02:00
Seiichi Uchida
d96e3ca604 Explicitly handle semicolon after the item in statement position 2018-08-04 09:59:38 +09:00
Seiichi Uchida
cf13534150 Add a test for #2884 2018-08-04 09:59:19 +09:00
Seiichi Uchida
1a6df18d6f Remove pub(self) 2018-08-04 08:47:48 +09:00
Nick Cameron
da17b68959 0.99.1 2018-08-04 11:41:48 +12:00
Nick Cameron
921fc87ae8
Merge pull request #2889 from topecongiro/issue-2888
Handle imports with items whose name contains digits
2018-08-04 11:26:09 +12:00
Seiichi Uchida
e5c79bb26b Fix imports 2018-08-03 22:14:45 +09:00
Seiichi Uchida
024c03e81b Use builder pattern for ListFormatting 2018-08-03 22:13:20 +09:00
Seiichi Uchida
1928ae78a2 Regard digits as an upper case character 2018-08-03 20:06:36 +09:00
Seiichi Uchida
8069efbe10 Add a test for #2888 2018-08-03 20:06:29 +09:00
Nick Cameron
3d7d04d3e2 0.99.0 (1.0 RC) 2018-08-03 20:42:00 +12:00
Nick Cameron
30fe66b110 Tiny clarification in README.md 2018-08-02 21:09:52 +12:00
Nick Cameron
d50e3618d4
Merge pull request #2881 from nrc/integration-failure
Fix the Failure integration test
2018-08-01 12:27:08 +12:00
Nick Cameron
b21a9c800c Fix the Failure integration test
Fixes #2858
2018-08-01 12:01:52 +12:00
Nick Cameron
9c34986bab Add some tests I forgot about earlier 2018-08-01 10:41:16 +12:00
Nick Cameron
4be12fa5d6 Update rustc-ap-syntax 2018-08-01 10:39:45 +12:00