]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agochore: backport 8157a3f0afe978d3e953420577f8344db7e905bf
Caleb Cartwright [Wed, 15 Jul 2020 14:19:21 +0000 (09:19 -0500)]
chore: backport 8157a3f0afe978d3e953420577f8344db7e905bf

4 years agodeps: bump rustc-ap to v669
Caleb Cartwright [Wed, 15 Jul 2020 02:36:24 +0000 (21:36 -0500)]
deps: bump rustc-ap to v669

4 years agodeps: bump rustc-ap-* to v668
Caleb Cartwright [Fri, 10 Jul 2020 04:15:08 +0000 (23:15 -0500)]
deps: bump rustc-ap-* to v668

4 years agodeps: bump rustc-ap* to v666
Caleb Cartwright [Sat, 27 Jun 2020 18:15:54 +0000 (13:15 -0500)]
deps: bump rustc-ap* to v666

4 years agoUse correct span for match arms with the leading pipe and attributes (#3975)
Seiichi Uchida [Sat, 21 Dec 2019 15:31:59 +0000 (00:31 +0900)]
Use correct span for match arms with the leading pipe and attributes (#3975)

4 years agoRelease v1.4.18
topecongiro [Sat, 13 Jun 2020 00:46:28 +0000 (09:46 +0900)]
Release v1.4.18

4 years agoMerge pull request #4253 from calebcartwright/rustfmt-1.4.18
Seiichi Uchida [Sat, 13 Jun 2020 00:28:25 +0000 (09:28 +0900)]
Merge pull request #4253 from calebcartwright/rustfmt-1.4.18

bump rustfmt 1.x rustc-ap* crates to v644

4 years agofix: backport fix for #4079
Caleb Cartwright [Fri, 12 Jun 2020 04:29:51 +0000 (23:29 -0500)]
fix: backport fix for #4079

4 years agofix: backport fix for #4020
Caleb Cartwright [Fri, 12 Jun 2020 04:17:38 +0000 (23:17 -0500)]
fix: backport fix for #4020

4 years agodeps: bump structopt (and proc-macro-error)
Caleb Cartwright [Fri, 12 Jun 2020 04:05:46 +0000 (23:05 -0500)]
deps: bump structopt (and proc-macro-error)

4 years agofix: backport fix for submod parser errors
Caleb Cartwright [Fri, 12 Jun 2020 02:49:40 +0000 (21:49 -0500)]
fix: backport fix for submod parser errors

4 years agofix: backport mod resolution error handling
Caleb Cartwright [Fri, 12 Jun 2020 02:11:18 +0000 (21:11 -0500)]
fix: backport mod resolution error handling

4 years agoSwitch to std::error::Error for errors (#3948)
David Tolnay [Tue, 3 Dec 2019 00:20:17 +0000 (16:20 -0800)]
Switch to std::error::Error for errors (#3948)

4 years agodeps: apply upstream rustc-* changes
Caleb Cartwright [Thu, 11 Jun 2020 18:22:37 +0000 (13:22 -0500)]
deps: apply upstream rustc-* changes

4 years agodeps: bump rustc-ap* to v664
Caleb Cartwright [Thu, 11 Jun 2020 18:21:55 +0000 (13:21 -0500)]
deps: bump rustc-ap* to v664

4 years agoRelease v1.4.17
topecongiro [Mon, 8 Jun 2020 01:48:46 +0000 (10:48 +0900)]
Release v1.4.17

4 years agoBump parking_lot
topecongiro [Mon, 8 Jun 2020 01:46:38 +0000 (10:46 +0900)]
Bump parking_lot

4 years agoSupport module-level rustfmt::skip in sub-modules
topecongiro [Mon, 8 Jun 2020 01:31:25 +0000 (10:31 +0900)]
Support module-level rustfmt::skip in sub-modules

4 years agoRelease v1.4.15
topecongiro [Tue, 19 May 2020 08:30:50 +0000 (17:30 +0900)]
Release v1.4.15

4 years agoCargo update
topecongiro [Tue, 19 May 2020 08:32:51 +0000 (17:32 +0900)]
Cargo update

4 years agoUpdate rustc-ap-* crates to 659.0.0 for rustfmt-1.4.15 (#4184)
Seiichi Uchida [Tue, 19 May 2020 08:31:28 +0000 (17:31 +0900)]
Update rustc-ap-* crates to 659.0.0 for rustfmt-1.4.15 (#4184)

4 years agoRelease v1.4.14
topecongiro [Tue, 14 Apr 2020 09:11:22 +0000 (18:11 +0900)]
Release v1.4.14

4 years agoBump rustc-ap* crates to 654.0.0 (#4121)
Seiichi Uchida [Tue, 14 Apr 2020 09:13:30 +0000 (18:13 +0900)]
Bump rustc-ap* crates to 654.0.0 (#4121)

4 years agofix: formatting arbitrary extern abi (#4089)
Caleb Cartwright [Tue, 31 Mar 2020 06:30:26 +0000 (01:30 -0500)]
fix: formatting arbitrary extern abi (#4089)

4 years agobackport new syntax to rustfmt 1.x (#4105)
Caleb Cartwright [Tue, 31 Mar 2020 06:28:01 +0000 (01:28 -0500)]
backport new syntax to rustfmt 1.x (#4105)

* feat: support raw reference operator

* feat: support const opt-out syntax

* feat: support half open range syntax

4 years agoMerge pull request #4100 from calebcartwright/rustfmt1x-rustc-v650
Manish Goregaokar [Mon, 30 Mar 2020 19:36:28 +0000 (12:36 -0700)]
Merge pull request #4100 from calebcartwright/rustfmt1x-rustc-v650

bump rustfmt 1x to rustc-ap v651

4 years agorefactor: use ast::attr:HasAttrs
Caleb Cartwright [Mon, 30 Mar 2020 18:11:00 +0000 (13:11 -0500)]
refactor: use ast::attr:HasAttrs

4 years agodeps: bump rustc-ap* to v651
Caleb Cartwright [Mon, 30 Mar 2020 17:02:39 +0000 (12:02 -0500)]
deps: bump rustc-ap* to v651

4 years agorefactor: rename libsyntax --> rustc_ast
Caleb Cartwright [Sat, 28 Mar 2020 03:29:12 +0000 (22:29 -0500)]
refactor: rename libsyntax --> rustc_ast

4 years agofix: unreachable err on Fn with `None` block
Caleb Cartwright [Sat, 28 Mar 2020 03:13:46 +0000 (22:13 -0500)]
fix: unreachable err on Fn with `None` block

4 years agofix: use correct ForeignItem span
Caleb Cartwright [Sat, 28 Mar 2020 03:00:00 +0000 (22:00 -0500)]
fix: use correct ForeignItem span

4 years agochore: fix src formatting
Caleb Cartwright [Sat, 28 Mar 2020 02:47:03 +0000 (21:47 -0500)]
chore: fix src formatting

4 years agorefactor: parse & mod resolver for rustc-ap v650
Caleb Cartwright [Fri, 27 Mar 2020 04:18:16 +0000 (23:18 -0500)]
refactor: parse & mod resolver for rustc-ap v650

4 years agorefactor: backport syntux mod
Caleb Cartwright [Fri, 27 Mar 2020 02:25:34 +0000 (21:25 -0500)]
refactor: backport syntux mod

4 years agodeps: bump to rustc v647
Caleb Cartwright [Thu, 26 Mar 2020 22:20:24 +0000 (17:20 -0500)]
deps: bump to rustc v647

4 years agodeps: bump to rustc v644
Caleb Cartwright [Thu, 26 Mar 2020 20:26:58 +0000 (15:26 -0500)]
deps: bump to rustc v644

4 years agorustfmt 1.x bump rustc-ap to v642 (#4043)
Seiichi Uchida [Mon, 10 Feb 2020 04:42:10 +0000 (13:42 +0900)]
rustfmt 1.x bump rustc-ap to v642 (#4043)

4 years agochore: fix compile warnings
Caleb Cartwright [Sun, 9 Feb 2020 04:54:37 +0000 (22:54 -0600)]
chore: fix compile warnings

4 years agofix: backport parse bug fix
Caleb Cartwright [Sun, 9 Feb 2020 04:47:48 +0000 (22:47 -0600)]
fix: backport parse bug fix

Backport the fix for the parser bug where the messages from
fatal/non-recoverable parser errors were being silently eaten by
rustfmt.

4 years agodeps: update rustc-ap to v642.0.0
Caleb Cartwright [Sun, 9 Feb 2020 04:21:37 +0000 (22:21 -0600)]
deps: update rustc-ap to v642.0.0

4 years agoRelease v1.4.11
topecongiro [Mon, 2 Dec 2019 23:49:39 +0000 (08:49 +0900)]
Release v1.4.11

4 years agoDo not add block around async closure (#3946)
Seiichi Uchida [Mon, 2 Dec 2019 23:47:50 +0000 (08:47 +0900)]
Do not add block around async closure (#3946)

4 years agoRelease v1.4.10
topecongiro [Fri, 25 Oct 2019 06:21:44 +0000 (15:21 +0900)]
Release v1.4.10

4 years agoCargo update
topecongiro [Fri, 25 Oct 2019 06:17:33 +0000 (15:17 +0900)]
Cargo update

4 years agoReturn an error if `--check` or `--emit json` are used with stdin. (#3875)
Chris Emerson [Fri, 25 Oct 2019 06:05:24 +0000 (07:05 +0100)]
Return an error if `--check` or `--emit json` are used with stdin. (#3875)

4 years agofix handling of nested comments in patterns and ControlFlows (#3869)
Seiichi Uchida [Fri, 25 Oct 2019 06:04:33 +0000 (15:04 +0900)]
fix handling of nested comments in patterns and ControlFlows (#3869)

4 years agofix Unparsable code when formmating (#3883)
rChaser53 [Thu, 24 Oct 2019 13:16:56 +0000 (22:16 +0900)]
fix Unparsable code when formmating (#3883)

4 years agoTry to solve issue3456. (#3556)
Rui [Sat, 19 Oct 2019 09:19:47 +0000 (17:19 +0800)]
Try to solve issue3456. (#3556)

4 years agofix: handling of newline_style conflicts (#3850)
Caleb Cartwright [Sat, 19 Oct 2019 08:15:13 +0000 (03:15 -0500)]
fix: handling of newline_style conflicts (#3850)

4 years agohandle field attributes when aligning a struct's fields (#3513)
Stéphane Campinas [Sat, 19 Oct 2019 07:56:32 +0000 (09:56 +0200)]
handle field attributes when aligning a struct's fields (#3513)

4 years agofeat: use offline by default with cargo fmt (#3830)
Caleb Cartwright [Sat, 19 Oct 2019 07:35:33 +0000 (02:35 -0500)]
feat: use offline by default with cargo fmt (#3830)

4 years agobump rustc-ap crates (#3870)
Ralf Jung [Sat, 19 Oct 2019 06:19:23 +0000 (08:19 +0200)]
bump rustc-ap crates (#3870)

4 years agofix: comments between lhs and rhs
Caleb Cartwright [Fri, 18 Oct 2019 01:04:05 +0000 (20:04 -0500)]
fix: comments between lhs and rhs

4 years agofix: nested comments in control flow condition pat
Caleb Cartwright [Fri, 18 Oct 2019 00:58:08 +0000 (19:58 -0500)]
fix: nested comments in control flow condition pat

4 years agodo not indent impl generics (#3856)
Stéphane Campinas [Fri, 11 Oct 2019 09:19:44 +0000 (11:19 +0200)]
do not indent impl generics (#3856)

4 years agofix: handle lhs unary in range expression (#3855)
Caleb Cartwright [Fri, 11 Oct 2019 09:15:04 +0000 (04:15 -0500)]
fix: handle lhs unary in range expression (#3855)

4 years agofix to swallow attribute on brace expression (#3848)
rChaser53 [Thu, 10 Oct 2019 01:35:34 +0000 (10:35 +0900)]
fix to swallow attribute on brace expression (#3848)

4 years agofix panic on closure with empty block expr (#3846)
Caleb Cartwright [Tue, 8 Oct 2019 02:00:31 +0000 (21:00 -0500)]
fix panic on closure with empty block expr (#3846)

4 years agofix: handle block comments with trailing line comments (#3842)
Caleb Cartwright [Tue, 8 Oct 2019 01:12:21 +0000 (20:12 -0500)]
fix: handle block comments with trailing line comments (#3842)

4 years agoimprove detection of URL inside a string that is being rewritten. (#3809)
Stéphane Campinas [Mon, 7 Oct 2019 07:43:50 +0000 (09:43 +0200)]
improve detection of URL inside a string that is being rewritten. (#3809)

4 years agohandle hard tabs when formatting trailing comments (#3836)
Stéphane Campinas [Mon, 7 Oct 2019 07:40:27 +0000 (09:40 +0200)]
handle hard tabs when formatting trailing comments (#3836)

4 years agoRelease v1.4.9
topecongiro [Mon, 7 Oct 2019 01:35:59 +0000 (10:35 +0900)]
Release v1.4.9

4 years agoUpdate CHANGELOG.md
topecongiro [Mon, 7 Oct 2019 01:35:11 +0000 (10:35 +0900)]
Update CHANGELOG.md

4 years agoCargo update
topecongiro [Mon, 7 Oct 2019 01:31:00 +0000 (10:31 +0900)]
Cargo update

4 years agodon't fail on recoverable parser errors in ignored files (#3782)
Caleb Cartwright [Mon, 7 Oct 2019 01:24:08 +0000 (20:24 -0500)]
don't fail on recoverable parser errors in ignored files (#3782)

4 years agoMerge pull request #3838 from calebcartwright/static-raw-ident-prefix
Stéphane Campinas [Sun, 6 Oct 2019 21:33:09 +0000 (23:33 +0200)]
Merge pull request #3838 from calebcartwright/static-raw-ident-prefix

add static support for raw prefix identifiers

4 years agofix: support raw prefix identifiers in statics
Caleb Cartwright [Sat, 5 Oct 2019 17:34:48 +0000 (12:34 -0500)]
fix: support raw prefix identifiers in statics

4 years agoUpdate rustc-ap-* crates to 606.0.0 (#3835)
Seiichi Uchida [Sat, 5 Oct 2019 14:40:24 +0000 (23:40 +0900)]
Update rustc-ap-* crates to 606.0.0 (#3835)

4 years agodo not force comments to be indented with a comment trailing a line of code (#3833)
Stéphane Campinas [Fri, 4 Oct 2019 15:22:01 +0000 (17:22 +0200)]
do not force comments to be indented with a comment trailing a line of code (#3833)

4 years agostop to strip 'impl' from impl trait type alias (#3816)
rChaser53 [Fri, 4 Oct 2019 02:25:17 +0000 (11:25 +0900)]
stop to strip 'impl' from impl trait type alias (#3816)

4 years agoInit Logger for unit tests (#3829)
Matthew Pomes [Fri, 4 Oct 2019 02:24:33 +0000 (21:24 -0500)]
Init Logger for unit tests (#3829)

Add `init_log()` function which attempts to init logger, and
ignores failure. The function is called at the beginning of
every test, and will fail if the logger is already initialized.
The logger must be initialized in every test, becuase cargo runs
the tests in parallel, with no garentees about the order and time
each starts.

4 years agofix rust code in comment with a line containing only a hash sign (#3818)
Stéphane Campinas [Wed, 2 Oct 2019 14:58:25 +0000 (16:58 +0200)]
fix rust code in comment with a line containing only a hash sign (#3818)

4 years agoadd --offline mode fallback to cargo fmt (#3813)
Caleb Cartwright [Wed, 2 Oct 2019 14:56:20 +0000 (09:56 -0500)]
add --offline mode fallback to cargo fmt (#3813)

4 years agoMerge pull request #3822 from mathstuf/target-as-symlink
Stéphane Campinas [Wed, 2 Oct 2019 07:31:11 +0000 (09:31 +0200)]
Merge pull request #3822 from mathstuf/target-as-symlink

gitignore: ignore target as a symlink

4 years agogitignore: ignore target as a symlink
Ben Boeckel [Tue, 1 Oct 2019 23:18:59 +0000 (19:18 -0400)]
gitignore: ignore target as a symlink

4 years agoMerge pull request #3810 from calebcartwright/issue-3808
Stéphane Campinas [Sat, 28 Sep 2019 10:32:41 +0000 (12:32 +0200)]
Merge pull request #3810 from calebcartwright/issue-3808

fix erroneous flattening of `{self}` in imports

4 years agotests: add more merge_import tests for #3808
Caleb Cartwright [Fri, 27 Sep 2019 01:11:11 +0000 (20:11 -0500)]
tests: add more merge_import tests for #3808

4 years agofix: merge_imports handling of ::{self}
Caleb Cartwright [Fri, 27 Sep 2019 01:02:41 +0000 (20:02 -0500)]
fix: merge_imports handling of ::{self}

4 years agoCargo fmt
topecongiro [Tue, 24 Sep 2019 00:26:50 +0000 (09:26 +0900)]
Cargo fmt

4 years agorefactor to use param naming where appropriate (#3803)
Caleb Cartwright [Tue, 24 Sep 2019 00:25:19 +0000 (19:25 -0500)]
refactor to use param naming where appropriate (#3803)

4 years agofix: handling of empty str for license template path (#3804)
Caleb Cartwright [Tue, 24 Sep 2019 00:24:05 +0000 (19:24 -0500)]
fix: handling of empty str for license template path (#3804)

4 years agofeat: support parameter attributes (#3793)
Caleb Cartwright [Fri, 20 Sep 2019 07:11:52 +0000 (02:11 -0500)]
feat: support parameter attributes (#3793)

4 years agofix the error with long string in raw string (#3800)
rChaser53 [Wed, 18 Sep 2019 13:39:27 +0000 (22:39 +0900)]
fix the error with long string in raw string (#3800)

4 years agoUse Cell instead of RefCell (#3798)
Shotaro Yamada [Wed, 18 Sep 2019 13:37:08 +0000 (22:37 +0900)]
Use Cell instead of RefCell (#3798)

4 years agofix internal error when using rustfmt::skip with newline on stmt (#3785)
rChaser53 [Sun, 15 Sep 2019 14:45:46 +0000 (23:45 +0900)]
fix internal error when using rustfmt::skip with newline on stmt (#3785)

4 years agofix: async expression indentation (#3789)
Caleb Cartwright [Wed, 11 Sep 2019 00:55:18 +0000 (19:55 -0500)]
fix: async expression indentation (#3789)

4 years agoRelease v1.4.8
topecongiro [Sun, 8 Sep 2019 14:34:46 +0000 (23:34 +0900)]
Release v1.4.8

4 years agoUpdate CHANGELOG.md
topecongiro [Sun, 8 Sep 2019 14:33:00 +0000 (23:33 +0900)]
Update CHANGELOG.md

4 years agoUpdate deps (#3788)
Seiichi Uchida [Sun, 8 Sep 2019 14:33:21 +0000 (23:33 +0900)]
Update deps (#3788)

4 years agoRelease v1.4.7
topecongiro [Fri, 6 Sep 2019 13:51:13 +0000 (22:51 +0900)]
Release v1.4.7

4 years agoUpdate CHANGELOG.md
topecongiro [Fri, 6 Sep 2019 13:48:39 +0000 (22:48 +0900)]
Update CHANGELOG.md

4 years agoUpdate rustc-ap-* crates to 581.0.0 (#3783)
Seiichi Uchida [Fri, 6 Sep 2019 13:41:03 +0000 (22:41 +0900)]
Update rustc-ap-* crates to 581.0.0 (#3783)

4 years agofix 'left behind trailing whitespace' (#3761)
rChaser53 [Thu, 5 Sep 2019 10:38:00 +0000 (19:38 +0900)]
fix 'left behind trailing whitespace' (#3761)

4 years agoFix handling of match arm's rewrite (#3775)
Seiichi Uchida [Thu, 5 Sep 2019 02:15:46 +0000 (11:15 +0900)]
Fix handling of match arm's rewrite (#3775)

4 years agoAdd --config command line option (#3767)
CreepySkeleton [Thu, 5 Sep 2019 02:15:19 +0000 (05:15 +0300)]
Add --config command line option (#3767)

4 years agoAnother fix for `merge_imports` (#3769)
Valentine Valyaeff [Wed, 4 Sep 2019 14:02:10 +0000 (17:02 +0300)]
Another fix for `merge_imports` (#3769)

4 years agodo not remove discriminant value if exists (#3771) (#3772)
Andrey [Wed, 4 Sep 2019 14:01:04 +0000 (17:01 +0300)]
do not remove discriminant value if exists (#3771) (#3772)

4 years agofix TrailingWhitespace when using line breaks in macros arguments (#3768)
rChaser53 [Wed, 4 Sep 2019 14:00:26 +0000 (23:00 +0900)]
fix TrailingWhitespace when using line breaks in macros arguments (#3768)

4 years agofix formatting mods inside cfg_if macro (#3763)
Caleb Cartwright [Mon, 2 Sep 2019 09:36:51 +0000 (04:36 -0500)]
fix formatting mods inside cfg_if macro (#3763)

4 years agoRelease v1.4.6
topecongiro [Wed, 28 Aug 2019 11:59:32 +0000 (20:59 +0900)]
Release v1.4.6