]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoMake file_lines_to_json test deterministic
Igor Matuszewski [Tue, 14 Aug 2018 21:22:09 +0000 (23:22 +0200)]
Make file_lines_to_json test deterministic

5 years agoExpose FileLines JSON representation
Igor Matuszewski [Tue, 14 Aug 2018 11:33:58 +0000 (13:33 +0200)]
Expose FileLines JSON representation

5 years agoMerge pull request #2912 from topecongiro/fix-slice-pattern
Nick Cameron [Mon, 13 Aug 2018 00:49:54 +0000 (12:49 +1200)]
Merge pull request #2912 from topecongiro/fix-slice-pattern

Do not show wildcard pattern in slice pattern

5 years agoRemove a wildcard parttern from slice patterns
Seiichi Uchida [Sun, 12 Aug 2018 14:56:09 +0000 (23:56 +0900)]
Remove a wildcard parttern from slice patterns

5 years agoAdd a test for slice patterns
Seiichi Uchida [Sun, 12 Aug 2018 14:55:34 +0000 (23:55 +0900)]
Add a test for slice patterns

5 years agoMerge pull request #2910 from OddBloke/patch-1
Seiichi Uchida [Sat, 11 Aug 2018 03:27:29 +0000 (12:27 +0900)]
Merge pull request #2910 from OddBloke/patch-1

Correct the ordering of the config help option

5 years agoCorrect the ordering of the config help option
Daniel Watkins [Sat, 11 Aug 2018 00:05:54 +0000 (20:05 -0400)]
Correct the ordering of the config help option

5 years agoMerge pull request #2902 from topecongiro/update-readme
Nick Cameron [Tue, 7 Aug 2018 07:09:15 +0000 (19:09 +1200)]
Merge pull request #2902 from topecongiro/update-readme

Update readme

5 years agoReplace '--conifig-help' with '--config=help'
Seiichi Uchida [Tue, 7 Aug 2018 04:00:30 +0000 (13:00 +0900)]
Replace '--conifig-help' with '--config=help'

5 years agoRemove outdated paragraphs
Seiichi Uchida [Tue, 7 Aug 2018 03:58:49 +0000 (12:58 +0900)]
Remove outdated paragraphs

5 years agoMerge pull request #2899 from topecongiro/chain-with-comments
Nick Cameron [Tue, 7 Aug 2018 03:07:23 +0000 (15:07 +1200)]
Merge pull request #2899 from topecongiro/chain-with-comments

Format chains with comment

5 years agoMerge pull request #2901 from topecongiro/issue-2760
Nick Cameron [Tue, 7 Aug 2018 02:53:26 +0000 (14:53 +1200)]
Merge pull request #2901 from topecongiro/issue-2760

Use custom path value if one exists when searching modules

5 years agoUpdate rustc-ap-syntax
Nick Cameron [Mon, 6 Aug 2018 23:30:44 +0000 (11:30 +1200)]
Update rustc-ap-syntax

5 years agoAdd comment
Seiichi Uchida [Mon, 6 Aug 2018 13:34:58 +0000 (22:34 +0900)]
Add comment

5 years agoUse custom path value if one exists when searching modules
Seiichi Uchida [Mon, 6 Aug 2018 13:28:05 +0000 (22:28 +0900)]
Use custom path value if one exists when searching modules

5 years agoMerge pull request #2900 from topecongiro/combine-attrs
Nick Cameron [Mon, 6 Aug 2018 07:37:05 +0000 (19:37 +1200)]
Merge pull request #2900 from topecongiro/combine-attrs

Combine function-like attributes

5 years agoMerge pull request #2897 from topecongiro/issue-2896
Nick Cameron [Mon, 6 Aug 2018 07:36:03 +0000 (19:36 +1200)]
Merge pull request #2897 from topecongiro/issue-2896

Ignore comment in wrap_str

5 years agoMerge pull request #2892 from topecongiro/issue-2884
Nick Cameron [Mon, 6 Aug 2018 07:34:44 +0000 (19:34 +1200)]
Merge pull request #2892 from topecongiro/issue-2884

Explicitly handle semicolon after the item in statement position

5 years agoMerge pull request #2890 from topecongiro/use-builder-pattern-for-ListFormatting
Nick Cameron [Mon, 6 Aug 2018 07:34:08 +0000 (19:34 +1200)]
Merge pull request #2890 from topecongiro/use-builder-pattern-for-ListFormatting

Use builder pattern for ListFormatting

5 years agoCombine list-like attributes
Seiichi Uchida [Sun, 5 Aug 2018 23:10:19 +0000 (08:10 +0900)]
Combine list-like attributes

5 years agoUpdate test
Seiichi Uchida [Sun, 5 Aug 2018 23:10:04 +0000 (08:10 +0900)]
Update test

5 years agoAdd a test for chains with comment
Seiichi Uchida [Sun, 5 Aug 2018 12:04:06 +0000 (21:04 +0900)]
Add a test for chains with comment

5 years agoFix chain with many try operators
Seiichi Uchida [Sun, 5 Aug 2018 12:03:45 +0000 (21:03 +0900)]
Fix chain with many try operators

5 years agoPut comment between chain elements on its original position
Seiichi Uchida [Sun, 5 Aug 2018 10:34:22 +0000 (19:34 +0900)]
Put comment between chain elements on its original position

5 years agoFactor out functions that extract comments around items
Seiichi Uchida [Sun, 5 Aug 2018 06:50:49 +0000 (15:50 +0900)]
Factor out functions that extract comments around items

5 years agoAdd FIXME comment
Seiichi Uchida [Sun, 5 Aug 2018 06:06:05 +0000 (15:06 +0900)]
Add FIXME comment

5 years agoFormat
Seiichi Uchida [Sun, 5 Aug 2018 06:04:48 +0000 (15:04 +0900)]
Format

5 years agoDo not handle comment when converting try
Seiichi Uchida [Sun, 5 Aug 2018 06:03:36 +0000 (15:03 +0900)]
Do not handle comment when converting try

As we get faulty span.

5 years agoAdd a space before comment that comes after a block-like chain item
Seiichi Uchida [Sun, 5 Aug 2018 05:37:13 +0000 (14:37 +0900)]
Add a space before comment that comes after a block-like chain item

5 years agoVeto putting a chain with comment in a single line
Seiichi Uchida [Sun, 5 Aug 2018 05:34:34 +0000 (14:34 +0900)]
Veto putting a chain with comment in a single line

5 years agoDo not combine short parent and comment
Seiichi Uchida [Sun, 5 Aug 2018 05:28:20 +0000 (14:28 +0900)]
Do not combine short parent and comment

5 years agoFormat comment between chain elements
Seiichi Uchida [Sun, 5 Aug 2018 05:28:10 +0000 (14:28 +0900)]
Format comment between chain elements

5 years agoAdd Comment to ChainItemKind
Seiichi Uchida [Sun, 5 Aug 2018 05:27:47 +0000 (14:27 +0900)]
Add Comment to ChainItemKind

5 years agoMake children list in-order
Seiichi Uchida [Sun, 5 Aug 2018 04:54:28 +0000 (13:54 +0900)]
Make children list in-order

instead of working on reveresed list.

5 years agoGet correct span
Seiichi Uchida [Sun, 5 Aug 2018 04:35:33 +0000 (13:35 +0900)]
Get correct span

5 years agoAdd Span field to ChainItem
Seiichi Uchida [Sun, 5 Aug 2018 04:02:24 +0000 (13:02 +0900)]
Add Span field to ChainItem

5 years agoNormalize chain elements
Seiichi Uchida [Sat, 4 Aug 2018 14:58:34 +0000 (23:58 +0900)]
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.

5 years agoMerge pull request #2895 from topecongiro/issue-2787
Seiichi Uchida [Sun, 5 Aug 2018 02:43:43 +0000 (11:43 +0900)]
Merge pull request #2895 from topecongiro/issue-2787

Fix parsing '#'-hiding of rustdoc

5 years agoMerge pull request #2898 from topecongiro/fix-travis
Seiichi Uchida [Sun, 5 Aug 2018 02:43:09 +0000 (11:43 +0900)]
Merge pull request #2898 from topecongiro/fix-travis

Remove before_script

5 years agoRemove before_script
Seiichi Uchida [Sun, 5 Aug 2018 02:14:00 +0000 (11:14 +0900)]
Remove before_script

5 years agoIgnore comment in wrap_str
Seiichi Uchida [Sun, 5 Aug 2018 01:50:34 +0000 (10:50 +0900)]
Ignore comment in wrap_str

5 years agoAdd a test for #2896
Seiichi Uchida [Sun, 5 Aug 2018 01:50:24 +0000 (10:50 +0900)]
Add a test for #2896

5 years agoRemove stdsimd from allow_failures
Seiichi Uchida [Sat, 4 Aug 2018 23:45:02 +0000 (08:45 +0900)]
Remove stdsimd from allow_failures

5 years agoFix parsing '#'-hiding of rustdoc
Seiichi Uchida [Sat, 4 Aug 2018 10:27:34 +0000 (19:27 +0900)]
Fix parsing '#'-hiding of rustdoc

5 years agoMerge pull request #2894 from gnzlbg/packed_simd
Seiichi Uchida [Sat, 4 Aug 2018 23:43:59 +0000 (08:43 +0900)]
Merge pull request #2894 from gnzlbg/packed_simd

add integration test rust-lang-nursery/packed_simd

5 years agoadd integration test rust-lang-nursery/packed_simd
gnzlbg [Sat, 4 Aug 2018 09:33:01 +0000 (11:33 +0200)]
add integration test rust-lang-nursery/packed_simd

5 years agoExplicitly handle semicolon after the item in statement position
Seiichi Uchida [Sat, 4 Aug 2018 00:59:38 +0000 (09:59 +0900)]
Explicitly handle semicolon after the item in statement position

5 years agoAdd a test for #2884
Seiichi Uchida [Sat, 4 Aug 2018 00:59:19 +0000 (09:59 +0900)]
Add a test for #2884

5 years agoRemove pub(self)
Seiichi Uchida [Fri, 3 Aug 2018 23:47:48 +0000 (08:47 +0900)]
Remove pub(self)

5 years ago0.99.1
Nick Cameron [Fri, 3 Aug 2018 23:41:48 +0000 (11:41 +1200)]
0.99.1

5 years agoMerge pull request #2889 from topecongiro/issue-2888
Nick Cameron [Fri, 3 Aug 2018 23:26:09 +0000 (11:26 +1200)]
Merge pull request #2889 from topecongiro/issue-2888

Handle imports with items whose name contains digits

5 years agoFix imports
Seiichi Uchida [Fri, 3 Aug 2018 13:14:45 +0000 (22:14 +0900)]
Fix imports

5 years agoUse builder pattern for ListFormatting
Seiichi Uchida [Fri, 3 Aug 2018 13:13:20 +0000 (22:13 +0900)]
Use builder pattern for ListFormatting

5 years agoRegard digits as an upper case character
Seiichi Uchida [Fri, 3 Aug 2018 11:06:36 +0000 (20:06 +0900)]
Regard digits as an upper case character

5 years agoAdd a test for #2888
Seiichi Uchida [Fri, 3 Aug 2018 11:06:29 +0000 (20:06 +0900)]
Add a test for #2888

5 years ago0.99.0 (1.0 RC)
Nick Cameron [Fri, 3 Aug 2018 08:42:00 +0000 (20:42 +1200)]
0.99.0 (1.0 RC)

5 years agoTiny clarification in README.md
Nick Cameron [Thu, 2 Aug 2018 09:09:52 +0000 (21:09 +1200)]
Tiny clarification in README.md

5 years agoMerge pull request #2881 from nrc/integration-failure
Nick Cameron [Wed, 1 Aug 2018 00:27:08 +0000 (12:27 +1200)]
Merge pull request #2881 from nrc/integration-failure

Fix the Failure integration test

5 years agoFix the Failure integration test
Nick Cameron [Wed, 1 Aug 2018 00:01:39 +0000 (12:01 +1200)]
Fix the Failure integration test

Fixes #2858

5 years agoAdd some tests I forgot about earlier
Nick Cameron [Tue, 31 Jul 2018 22:41:16 +0000 (10:41 +1200)]
Add some tests I forgot about earlier

5 years agoUpdate rustc-ap-syntax
Nick Cameron [Tue, 31 Jul 2018 22:39:45 +0000 (10:39 +1200)]
Update rustc-ap-syntax

5 years agoMerge pull request #2879 from RReverser/master
Nick Cameron [Tue, 31 Jul 2018 22:28:49 +0000 (10:28 +1200)]
Merge pull request #2879 from RReverser/master

Fix check for unstable features

5 years agoMerge pull request #2873 from aloucks/auto-detect-newline-style
Nick Cameron [Tue, 31 Jul 2018 22:06:31 +0000 (10:06 +1200)]
Merge pull request #2873 from aloucks/auto-detect-newline-style

Auto-detect newline style by default

5 years agoUse is_nightly helper instead of duplicate code
Ingvar Stepanyan [Tue, 31 Jul 2018 10:53:22 +0000 (11:53 +0100)]
Use is_nightly helper instead of duplicate code

5 years agoFix check for unstable features
Ingvar Stepanyan [Tue, 31 Jul 2018 10:50:09 +0000 (11:50 +0100)]
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.

5 years agoIncrease capacity for newline conversion buffer
Aaron Loucks [Tue, 31 Jul 2018 03:19:46 +0000 (23:19 -0400)]
Increase capacity for newline conversion buffer

5 years agoEmit 0 exit code for --version and similar operations
Nick Cameron [Tue, 31 Jul 2018 01:41:49 +0000 (13:41 +1200)]
Emit 0 exit code for --version and similar operations

Fixes #2878

5 years agoWarn the user if using an unstable option without `--unstable-options`
Nick Cameron [Mon, 30 Jul 2018 22:02:32 +0000 (10:02 +1200)]
Warn the user if using an unstable option without `--unstable-options`

Fixes #2796

5 years agoMerge pull request #2874 from cavedweller/master
Nick Cameron [Mon, 30 Jul 2018 20:52:07 +0000 (08:52 +1200)]
Merge pull request #2874 from cavedweller/master

Format Async block and async fn

5 years agofix nits
Benjamin Brittain [Mon, 30 Jul 2018 00:20:11 +0000 (17:20 -0700)]
fix nits

5 years agoUpdating newline_style documentation
Aaron Loucks [Sun, 29 Jul 2018 21:02:32 +0000 (17:02 -0400)]
Updating newline_style documentation

5 years agoMerge pull request #2872 from aaudiber/raw-ident-struct-expr
Nick Cameron [Sun, 29 Jul 2018 20:29:45 +0000 (08:29 +1200)]
Merge pull request #2872 from aaudiber/raw-ident-struct-expr

Support raw identifiers in struct expressions

5 years agoMerge pull request #2870 from dcarosone/edition-readme
Nick Cameron [Sun, 29 Jul 2018 20:25:02 +0000 (08:25 +1200)]
Merge pull request #2870 from dcarosone/edition-readme

call out edition config in Readme: Quick start (#2837)

5 years agoAdd tests for async & async move
Ben Brittain [Sun, 29 Jul 2018 15:45:31 +0000 (08:45 -0700)]
Add tests for async & async move

5 years agoFormat Async block and async fn
Ben Brittain [Sun, 29 Jul 2018 14:37:24 +0000 (07:37 -0700)]
Format Async block and async fn

5 years agoAuto-detect newline style by default
Aaron Loucks [Sat, 28 Jul 2018 20:18:58 +0000 (16:18 -0400)]
Auto-detect newline style by default

5 years agoSupport raw identifiers in struct expressions
Andrew Audibert [Sun, 29 Jul 2018 02:38:14 +0000 (19:38 -0700)]
Support raw identifiers in struct expressions

5 years agocall out edition config in Quick start (#2837)
Daniel Carosone [Sat, 28 Jul 2018 08:04:55 +0000 (18:04 +1000)]
call out edition config in Quick start (#2837)

5 years agoMerge pull request #2864 from topecongiro/issue-2863
Nick Cameron [Fri, 27 Jul 2018 04:24:46 +0000 (16:24 +1200)]
Merge pull request #2864 from topecongiro/issue-2863

Modify the rule for reordering impl items

5 years agoMerge pull request #2862 from topecongiro/issue-2852
Nick Cameron [Fri, 27 Jul 2018 04:24:11 +0000 (16:24 +1200)]
Merge pull request #2862 from topecongiro/issue-2852

Preserve parens in trait bounds

5 years agoMerge pull request #2865 from rust-lang-nursery/update-libsyntax-to-209
Nick Cameron [Fri, 27 Jul 2018 03:22:51 +0000 (15:22 +1200)]
Merge pull request #2865 from rust-lang-nursery/update-libsyntax-to-209

Update rustc-ap-syntax to 209.0.0.

5 years agoUpdate rustc-ap-syntax to 209.0.0.
kennytm [Thu, 26 Jul 2018 21:49:44 +0000 (05:49 +0800)]
Update rustc-ap-syntax to 209.0.0.

This should fix the breakage caused by rust-lang/rust#51587.

5 years agoModify the rule for reordering impl items
Seiichi Uchida [Thu, 26 Jul 2018 12:35:56 +0000 (21:35 +0900)]
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.

5 years agoAdd a test for #2863
Seiichi Uchida [Thu, 26 Jul 2018 12:35:48 +0000 (21:35 +0900)]
Add a test for #2863

5 years agoPreserve parens in trait bounds
Seiichi Uchida [Wed, 25 Jul 2018 09:27:25 +0000 (18:27 +0900)]
Preserve parens in trait bounds

5 years agoAdd and update tests for trait with paren
Seiichi Uchida [Wed, 25 Jul 2018 09:27:02 +0000 (18:27 +0900)]
Add and update tests for trait with paren

5 years agoMerge pull request #2861 from topecongiro/issue-2859
Nick Cameron [Wed, 25 Jul 2018 09:22:25 +0000 (21:22 +1200)]
Merge pull request #2861 from topecongiro/issue-2859

Put lifetimes after trait when they gets orphaned

5 years agoMerge pull request #2834 from topecongiro/issue-2830
Nick Cameron [Wed, 25 Jul 2018 09:21:30 +0000 (21:21 +1200)]
Merge pull request #2834 from topecongiro/issue-2830

Keep the context that we are inside macro in nested macro

5 years agoRename test files
Seiichi Uchida [Wed, 25 Jul 2018 09:16:10 +0000 (18:16 +0900)]
Rename test files

5 years agoVeto converting delimiters inside nested macro
Seiichi Uchida [Tue, 24 Jul 2018 22:16:43 +0000 (07:16 +0900)]
Veto converting delimiters inside nested macro

5 years agoPut lifetimes after trait when they gets orphaned
Seiichi Uchida [Tue, 24 Jul 2018 23:34:43 +0000 (08:34 +0900)]
Put lifetimes after trait when they gets orphaned

5 years agoAdd a test for #2859
Seiichi Uchida [Tue, 24 Jul 2018 23:33:41 +0000 (08:33 +0900)]
Add a test for #2859

5 years agoKeep the inside macro context in nested macro call
Seiichi Uchida [Tue, 24 Jul 2018 22:15:33 +0000 (07:15 +0900)]
Keep the inside macro context in nested macro call

5 years agoAdd tests for #2830 and #2857
Seiichi Uchida [Tue, 24 Jul 2018 22:13:51 +0000 (07:13 +0900)]
Add tests for #2830 and #2857

5 years agoMerge pull request #2860 from topecongiro/rustc-ap-syntax
Nick Cameron [Tue, 24 Jul 2018 19:22:08 +0000 (07:22 +1200)]
Merge pull request #2860 from topecongiro/rustc-ap-syntax

Format existetenial type

5 years agoAdd a test for associated existential type
Seiichi Uchida [Tue, 24 Jul 2018 15:42:19 +0000 (00:42 +0900)]
Add a test for associated existential type

5 years agoRemove span from rewrite_generics's parameter
Seiichi Uchida [Tue, 24 Jul 2018 15:34:46 +0000 (00:34 +0900)]
Remove span from rewrite_generics's parameter

We can just use the span from ast::Generics.

5 years agoFormat exitential type
Seiichi Uchida [Tue, 24 Jul 2018 15:30:01 +0000 (00:30 +0900)]
Format exitential type

5 years agoAdd a simple test for exitential type
Seiichi Uchida [Tue, 24 Jul 2018 15:29:45 +0000 (00:29 +0900)]
Add a simple test for exitential type

5 years agoCargo update
Seiichi Uchida [Tue, 24 Jul 2018 15:22:27 +0000 (00:22 +0900)]
Cargo update

Update `rustc-ap-*` to "206.0.0".