Commit Graph

3879 Commits

Author SHA1 Message Date
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
Nick Cameron
5ed600cbeb
Merge pull request #2879 from RReverser/master
Fix check for unstable features
2018-08-01 10:28:49 +12:00
Nick Cameron
df2e8bb594
Merge pull request #2873 from aloucks/auto-detect-newline-style
Auto-detect newline style by default
2018-08-01 10:06:31 +12:00
Ingvar Stepanyan
593a5c40a4 Use is_nightly helper instead of duplicate code 2018-07-31 11:53:22 +01:00
Ingvar Stepanyan
c25deef110 Fix check for unstable features
These features are registered only on Nightly and so matches.opt_present panics when it's called without the is_nightly guard.
2018-07-31 11:50:09 +01:00
Aaron Loucks
dab572e0b0 Increase capacity for newline conversion buffer 2018-07-30 23:19:46 -04:00
Nick Cameron
ca6b360c8a Emit 0 exit code for --version and similar operations
Fixes #2878
2018-07-31 13:41:49 +12:00
Nick Cameron
d43874113e Warn the user if using an unstable option without --unstable-options
Fixes #2796
2018-07-31 10:02:32 +12:00
Nick Cameron
3c20d8a9e6
Merge pull request #2874 from cavedweller/master
Format Async block and async fn
2018-07-31 08:52:07 +12:00
Benjamin Brittain
46b241004d fix nits 2018-07-29 17:20:21 -07:00
Aaron Loucks
e7932fa9c2 Updating newline_style documentation 2018-07-29 17:02:32 -04:00
Nick Cameron
dc209cc97f
Merge pull request #2872 from aaudiber/raw-ident-struct-expr
Support raw identifiers in struct expressions
2018-07-30 08:29:45 +12:00
Nick Cameron
fad88596dd
Merge pull request #2870 from dcarosone/edition-readme
call out edition config in Readme: Quick start (#2837)
2018-07-30 08:25:02 +12:00
Ben Brittain
fedde3790c Add tests for async & async move 2018-07-29 08:55:36 -07:00
Ben Brittain
0b25f602fd Format Async block and async fn 2018-07-29 08:05:38 -07:00
Aaron Loucks
6ff2a5e0f3 Auto-detect newline style by default 2018-07-29 10:12:31 -04:00
Andrew Audibert
f121b1a3a9 Support raw identifiers in struct expressions 2018-07-28 19:40:52 -07:00
Daniel Carosone
1c6090c440 call out edition config in Quick start (#2837) 2018-07-28 18:04:55 +10:00
Nick Cameron
69ad879d52
Merge pull request #2864 from topecongiro/issue-2863
Modify the rule for reordering impl items
2018-07-27 16:24:46 +12:00
Nick Cameron
814f6339b4
Merge pull request #2862 from topecongiro/issue-2852
Preserve parens in trait bounds
2018-07-27 16:24:11 +12:00
Nick Cameron
7e3dc8fae7
Merge pull request #2865 from rust-lang-nursery/update-libsyntax-to-209
Update rustc-ap-syntax to 209.0.0.
2018-07-27 15:22:51 +12:00
kennytm
1e55de10f2
Update rustc-ap-syntax to 209.0.0.
This should fix the breakage caused by rust-lang/rust#51587.
2018-07-27 05:49:44 +08:00
Seiichi Uchida
7b37776ade Modify the rule for reordering impl items
1. If two items have the same kind, then reorder them based on its ident.
2. Handle existential type.
2018-07-26 21:37:23 +09:00
Seiichi Uchida
87c4bd5a94 Add a test for #2863 2018-07-26 21:35:48 +09:00
Seiichi Uchida
e6255ca3de Preserve parens in trait bounds 2018-07-25 18:27:25 +09:00
Seiichi Uchida
b7c443e948 Add and update tests for trait with paren 2018-07-25 18:27:02 +09:00
Nick Cameron
8ff2836eaf
Merge pull request #2861 from topecongiro/issue-2859
Put lifetimes after trait when they gets orphaned
2018-07-25 21:22:25 +12:00
Nick Cameron
e3fea15ca9
Merge pull request #2834 from topecongiro/issue-2830
Keep the context that we are inside macro in nested macro
2018-07-25 21:21:30 +12:00
Seiichi Uchida
1b69ed9ae4 Rename test files 2018-07-25 18:16:10 +09:00
Seiichi Uchida
339fa20973 Veto converting delimiters inside nested macro 2018-07-25 08:58:37 +09:00
Seiichi Uchida
6cecdd681f Put lifetimes after trait when they gets orphaned 2018-07-25 08:44:32 +09:00
Seiichi Uchida
6b8c6f5e0f Add a test for #2859 2018-07-25 08:33:41 +09:00
Seiichi Uchida
975b3753ba Keep the inside macro context in nested macro call 2018-07-25 07:15:33 +09:00
Seiichi Uchida
d512240206 Add tests for #2830 and #2857 2018-07-25 07:13:51 +09:00
Nick Cameron
2f03180040
Merge pull request #2860 from topecongiro/rustc-ap-syntax
Format existetenial type
2018-07-25 07:22:08 +12:00
Seiichi Uchida
a2b40bd70f Add a test for associated existential type 2018-07-25 00:42:19 +09:00
Seiichi Uchida
6d7a764b3d Remove span from rewrite_generics's parameter
We can just use the span from ast::Generics.
2018-07-25 00:34:46 +09:00