]>
git.lizzy.rs Git - rust.git/log
Nick Cameron [Sun, 26 Aug 2018 23:19:18 +0000 (11:19 +1200)]
nightly-0.99.4
Nick Cameron [Sun, 26 Aug 2018 23:14:23 +0000 (11:14 +1200)]
Expect a couple of integration tests to fail
Nick Cameron [Sun, 26 Aug 2018 21:44:28 +0000 (09:44 +1200)]
Merge pull request #2942 from crw5996/fix-ellipsis-bug
Fix Issue with ellipsis matching in pattern.rs
Nick Cameron [Sun, 26 Aug 2018 21:39:08 +0000 (09:39 +1200)]
Merge pull request #2966 from topecongiro/issue-2953
Format in-place expression like assignment
Nick Cameron [Sun, 26 Aug 2018 21:23:16 +0000 (09:23 +1200)]
Merge pull request #2948 from CAD97/patch-2
Consider "dev" as nightly for feature (un)gating
Seiichi Uchida [Sun, 26 Aug 2018 04:20:25 +0000 (13:20 +0900)]
Format in-place expression like assignment
Seiichi Uchida [Sun, 26 Aug 2018 04:20:07 +0000 (13:20 +0900)]
Remove an unnecessary attribute
Seiichi Uchida [Sun, 26 Aug 2018 04:19:44 +0000 (13:19 +0900)]
Add a test for #2953
Zach Lute [Sun, 26 Aug 2018 04:02:24 +0000 (21:02 -0700)]
Fix build with rust nightly by updating try block syntax. (#2965)
Maximilian Roos [Fri, 24 Aug 2018 05:39:05 +0000 (01:39 -0400)]
Impl only use (#2951)
chris [Tue, 21 Aug 2018 22:38:21 +0000 (18:38 -0400)]
Fixed ellipsis bug where rustfmt was creating code that could not be parsed
Nick Cameron [Thu, 23 Aug 2018 23:17:15 +0000 (11:17 +1200)]
Merge pull request #2950 from CAD97/master
Rename CodeMap/FileMap to SourceMap/SourceFile
cad97 [Thu, 23 Aug 2018 21:14:19 +0000 (17:14 -0400)]
Reformat
cad97 [Thu, 23 Aug 2018 21:10:46 +0000 (17:10 -0400)]
Rename CodeMap/FileMap to SourceMap/SourceFile
#2946
Christopher Durham [Thu, 23 Aug 2018 08:28:44 +0000 (04:28 -0400)]
Consider "dev" as nightly for feature (un)gating
Christopher Durham [Thu, 23 Aug 2018 08:24:15 +0000 (04:24 -0400)]
Consider "dev" as nightly for feature (un)gating
Closes #2940
Nick Cameron [Thu, 23 Aug 2018 03:34:45 +0000 (15:34 +1200)]
nightly-0.99.3
Nick Cameron [Wed, 22 Aug 2018 22:13:56 +0000 (10:13 +1200)]
Merge pull request #2925 from scampi/issue539
discard trailing blank comments
Nick Cameron [Tue, 21 Aug 2018 08:28:56 +0000 (20:28 +1200)]
Merge pull request #2935 from topecongiro/rustc-ap-syntax
Cargo update
Nick Cameron [Tue, 21 Aug 2018 08:26:25 +0000 (20:26 +1200)]
Merge pull request #2915 from Xanewok/file-lines-ser-json
Expose FileLines JSON representation
Seiichi Uchida [Sat, 18 Aug 2018 15:26:56 +0000 (00:26 +0900)]
Remove an invalid attribute from a test
This has become a parser error.
Seiichi Uchida [Sat, 18 Aug 2018 15:26:34 +0000 (00:26 +0900)]
Update import path to ThinVec
Seiichi Uchida [Sat, 18 Aug 2018 15:26:11 +0000 (00:26 +0900)]
Cargo update
Update `rustc-ap-*` to 230.0.0.
Nick Cameron [Fri, 17 Aug 2018 17:07:59 +0000 (10:07 -0700)]
Merge pull request #2920 from topecongiro/issue-2919
Use correct max width when formatting macro body
Stéphane Campinas [Thu, 16 Aug 2018 18:00:49 +0000 (20:00 +0200)]
fix verbose output
Stéphane Campinas [Thu, 16 Aug 2018 17:59:32 +0000 (19:59 +0200)]
discard trailing blank comments
Stéphane Campinas [Thu, 16 Aug 2018 17:55:15 +0000 (19:55 +0200)]
fix the identification of a block comment.
Block comments like below were not properly supported:
/*
something here but it doesn't start with a star
*/
because of the line that didn't start with a star.
Seiichi Uchida [Wed, 15 Aug 2018 22:47:37 +0000 (07:47 +0900)]
Increase the max width by tab width when using format_code_block
since the macro body will be surrounded by fn main block.
Seiichi Uchida [Wed, 15 Aug 2018 22:46:59 +0000 (07:46 +0900)]
Reduce the max width by the width of indent
Seiichi Uchida [Wed, 15 Aug 2018 22:09:52 +0000 (07:09 +0900)]
Add a test for #2919
Igor Matuszewski [Tue, 14 Aug 2018 21:23:00 +0000 (23:23 +0200)]
Run `cargo fmt`
Igor Matuszewski [Tue, 14 Aug 2018 21:22:09 +0000 (23:22 +0200)]
Make file_lines_to_json test deterministic
Igor Matuszewski [Tue, 14 Aug 2018 11:33:58 +0000 (13:33 +0200)]
Expose FileLines JSON representation
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
Seiichi Uchida [Sun, 12 Aug 2018 14:56:09 +0000 (23:56 +0900)]
Remove a wildcard parttern from slice patterns
Seiichi Uchida [Sun, 12 Aug 2018 14:55:34 +0000 (23:55 +0900)]
Add a test for slice patterns
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
Daniel Watkins [Sat, 11 Aug 2018 00:05:54 +0000 (20:05 -0400)]
Correct the ordering of the config help option
Nick Cameron [Tue, 7 Aug 2018 07:09:15 +0000 (19:09 +1200)]
Merge pull request #2902 from topecongiro/update-readme
Update readme
Seiichi Uchida [Tue, 7 Aug 2018 04:00:30 +0000 (13:00 +0900)]
Replace '--conifig-help' with '--config=help'
Seiichi Uchida [Tue, 7 Aug 2018 03:58:49 +0000 (12:58 +0900)]
Remove outdated paragraphs
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
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
Nick Cameron [Mon, 6 Aug 2018 23:30:44 +0000 (11:30 +1200)]
Update rustc-ap-syntax
Seiichi Uchida [Mon, 6 Aug 2018 13:34:58 +0000 (22:34 +0900)]
Add comment
Seiichi Uchida [Mon, 6 Aug 2018 13:28:05 +0000 (22:28 +0900)]
Use custom path value if one exists when searching modules
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
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
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
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
Seiichi Uchida [Sun, 5 Aug 2018 23:10:19 +0000 (08:10 +0900)]
Combine list-like attributes
Seiichi Uchida [Sun, 5 Aug 2018 23:10:04 +0000 (08:10 +0900)]
Update test
Seiichi Uchida [Sun, 5 Aug 2018 12:04:06 +0000 (21:04 +0900)]
Add a test for chains with comment
Seiichi Uchida [Sun, 5 Aug 2018 12:03:45 +0000 (21:03 +0900)]
Fix chain with many try operators
Seiichi Uchida [Sun, 5 Aug 2018 10:34:22 +0000 (19:34 +0900)]
Put comment between chain elements on its original position
Seiichi Uchida [Sun, 5 Aug 2018 06:50:49 +0000 (15:50 +0900)]
Factor out functions that extract comments around items
Seiichi Uchida [Sun, 5 Aug 2018 06:06:05 +0000 (15:06 +0900)]
Add FIXME comment
Seiichi Uchida [Sun, 5 Aug 2018 06:04:48 +0000 (15:04 +0900)]
Format
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.
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
Seiichi Uchida [Sun, 5 Aug 2018 05:34:34 +0000 (14:34 +0900)]
Veto putting a chain with comment in a single line
Seiichi Uchida [Sun, 5 Aug 2018 05:28:20 +0000 (14:28 +0900)]
Do not combine short parent and comment
Seiichi Uchida [Sun, 5 Aug 2018 05:28:10 +0000 (14:28 +0900)]
Format comment between chain elements
Seiichi Uchida [Sun, 5 Aug 2018 05:27:47 +0000 (14:27 +0900)]
Add Comment to ChainItemKind
Seiichi Uchida [Sun, 5 Aug 2018 04:54:28 +0000 (13:54 +0900)]
Make children list in-order
instead of working on reveresed list.
Seiichi Uchida [Sun, 5 Aug 2018 04:35:33 +0000 (13:35 +0900)]
Get correct span
Seiichi Uchida [Sun, 5 Aug 2018 04:02:24 +0000 (13:02 +0900)]
Add Span field to ChainItem
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.
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
Seiichi Uchida [Sun, 5 Aug 2018 02:43:09 +0000 (11:43 +0900)]
Merge pull request #2898 from topecongiro/fix-travis
Remove before_script
Seiichi Uchida [Sun, 5 Aug 2018 02:14:00 +0000 (11:14 +0900)]
Remove before_script
Seiichi Uchida [Sun, 5 Aug 2018 01:50:34 +0000 (10:50 +0900)]
Ignore comment in wrap_str
Seiichi Uchida [Sun, 5 Aug 2018 01:50:24 +0000 (10:50 +0900)]
Add a test for #2896
Seiichi Uchida [Sat, 4 Aug 2018 23:45:02 +0000 (08:45 +0900)]
Remove stdsimd from allow_failures
Seiichi Uchida [Sat, 4 Aug 2018 10:27:34 +0000 (19:27 +0900)]
Fix parsing '#'-hiding of rustdoc
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
gnzlbg [Sat, 4 Aug 2018 09:33:01 +0000 (11:33 +0200)]
add integration test rust-lang-nursery/packed_simd
Seiichi Uchida [Sat, 4 Aug 2018 00:59:38 +0000 (09:59 +0900)]
Explicitly handle semicolon after the item in statement position
Seiichi Uchida [Sat, 4 Aug 2018 00:59:19 +0000 (09:59 +0900)]
Add a test for #2884
Seiichi Uchida [Fri, 3 Aug 2018 23:47:48 +0000 (08:47 +0900)]
Remove pub(self)
Nick Cameron [Fri, 3 Aug 2018 23:41:48 +0000 (11:41 +1200)]
0.99.1
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
Seiichi Uchida [Fri, 3 Aug 2018 13:14:45 +0000 (22:14 +0900)]
Fix imports
Seiichi Uchida [Fri, 3 Aug 2018 13:13:20 +0000 (22:13 +0900)]
Use builder pattern for ListFormatting
Seiichi Uchida [Fri, 3 Aug 2018 11:06:36 +0000 (20:06 +0900)]
Regard digits as an upper case character
Seiichi Uchida [Fri, 3 Aug 2018 11:06:29 +0000 (20:06 +0900)]
Add a test for #2888
Nick Cameron [Fri, 3 Aug 2018 08:42:00 +0000 (20:42 +1200)]
0.99.0 (1.0 RC)
Nick Cameron [Thu, 2 Aug 2018 09:09:52 +0000 (21:09 +1200)]
Tiny clarification in README.md
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
Nick Cameron [Wed, 1 Aug 2018 00:01:39 +0000 (12:01 +1200)]
Fix the Failure integration test
Fixes #2858
Nick Cameron [Tue, 31 Jul 2018 22:41:16 +0000 (10:41 +1200)]
Add some tests I forgot about earlier
Nick Cameron [Tue, 31 Jul 2018 22:39:45 +0000 (10:39 +1200)]
Update rustc-ap-syntax
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
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
Ingvar Stepanyan [Tue, 31 Jul 2018 10:53:22 +0000 (11:53 +0100)]
Use is_nightly helper instead of duplicate code
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.
Aaron Loucks [Tue, 31 Jul 2018 03:19:46 +0000 (23:19 -0400)]
Increase capacity for newline conversion buffer
Nick Cameron [Tue, 31 Jul 2018 01:41:49 +0000 (13:41 +1200)]
Emit 0 exit code for --version and similar operations
Fixes #2878
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
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