]>
git.lizzy.rs Git - rust.git/log
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
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
Caleb Cartwright [Mon, 30 Mar 2020 18:11:00 +0000 (13:11 -0500)]
refactor: use ast::attr:HasAttrs
Caleb Cartwright [Mon, 30 Mar 2020 17:02:39 +0000 (12:02 -0500)]
deps: bump rustc-ap* to v651
Caleb Cartwright [Sat, 28 Mar 2020 03:29:12 +0000 (22:29 -0500)]
refactor: rename libsyntax --> rustc_ast
Caleb Cartwright [Sat, 28 Mar 2020 03:13:46 +0000 (22:13 -0500)]
fix: unreachable err on Fn with `None` block
Caleb Cartwright [Sat, 28 Mar 2020 03:00:00 +0000 (22:00 -0500)]
fix: use correct ForeignItem span
Caleb Cartwright [Sat, 28 Mar 2020 02:47:03 +0000 (21:47 -0500)]
chore: fix src formatting
Caleb Cartwright [Fri, 27 Mar 2020 04:18:16 +0000 (23:18 -0500)]
refactor: parse & mod resolver for rustc-ap v650
Caleb Cartwright [Fri, 27 Mar 2020 02:25:34 +0000 (21:25 -0500)]
refactor: backport syntux mod
Caleb Cartwright [Thu, 26 Mar 2020 22:20:24 +0000 (17:20 -0500)]
deps: bump to rustc v647
Caleb Cartwright [Thu, 26 Mar 2020 20:26:58 +0000 (15:26 -0500)]
deps: bump to rustc v644
Seiichi Uchida [Mon, 10 Feb 2020 04:42:10 +0000 (13:42 +0900)]
rustfmt 1.x bump rustc-ap to v642 (#4043)
Caleb Cartwright [Sun, 9 Feb 2020 04:54:37 +0000 (22:54 -0600)]
chore: fix compile warnings
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.
Caleb Cartwright [Sun, 9 Feb 2020 04:21:37 +0000 (22:21 -0600)]
deps: update rustc-ap to v642.0.0
topecongiro [Mon, 2 Dec 2019 23:49:39 +0000 (08:49 +0900)]
Release v1.4.11
Seiichi Uchida [Mon, 2 Dec 2019 23:47:50 +0000 (08:47 +0900)]
Do not add block around async closure (#3946)
topecongiro [Fri, 25 Oct 2019 06:21:44 +0000 (15:21 +0900)]
Release v1.4.10
topecongiro [Fri, 25 Oct 2019 06:17:33 +0000 (15:17 +0900)]
Cargo update
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)
Seiichi Uchida [Fri, 25 Oct 2019 06:04:33 +0000 (15:04 +0900)]
fix handling of nested comments in patterns and ControlFlows (#3869)
rChaser53 [Thu, 24 Oct 2019 13:16:56 +0000 (22:16 +0900)]
fix Unparsable code when formmating (#3883)
Rui [Sat, 19 Oct 2019 09:19:47 +0000 (17:19 +0800)]
Try to solve issue3456. (#3556)
Caleb Cartwright [Sat, 19 Oct 2019 08:15:13 +0000 (03:15 -0500)]
fix: handling of newline_style conflicts (#3850)
Stéphane Campinas [Sat, 19 Oct 2019 07:56:32 +0000 (09:56 +0200)]
handle field attributes when aligning a struct's fields (#3513)
Caleb Cartwright [Sat, 19 Oct 2019 07:35:33 +0000 (02:35 -0500)]
feat: use offline by default with cargo fmt (#3830)
Ralf Jung [Sat, 19 Oct 2019 06:19:23 +0000 (08:19 +0200)]
bump rustc-ap crates (#3870)
Caleb Cartwright [Fri, 18 Oct 2019 01:04:05 +0000 (20:04 -0500)]
fix: comments between lhs and rhs
Caleb Cartwright [Fri, 18 Oct 2019 00:58:08 +0000 (19:58 -0500)]
fix: nested comments in control flow condition pat
Stéphane Campinas [Fri, 11 Oct 2019 09:19:44 +0000 (11:19 +0200)]
do not indent impl generics (#3856)
Caleb Cartwright [Fri, 11 Oct 2019 09:15:04 +0000 (04:15 -0500)]
fix: handle lhs unary in range expression (#3855)
rChaser53 [Thu, 10 Oct 2019 01:35:34 +0000 (10:35 +0900)]
fix to swallow attribute on brace expression (#3848)
Caleb Cartwright [Tue, 8 Oct 2019 02:00:31 +0000 (21:00 -0500)]
fix panic on closure with empty block expr (#3846)
Caleb Cartwright [Tue, 8 Oct 2019 01:12:21 +0000 (20:12 -0500)]
fix: handle block comments with trailing line comments (#3842)
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)
Stéphane Campinas [Mon, 7 Oct 2019 07:40:27 +0000 (09:40 +0200)]
handle hard tabs when formatting trailing comments (#3836)
topecongiro [Mon, 7 Oct 2019 01:35:59 +0000 (10:35 +0900)]
Release v1.4.9
topecongiro [Mon, 7 Oct 2019 01:35:11 +0000 (10:35 +0900)]
Update CHANGELOG.md
topecongiro [Mon, 7 Oct 2019 01:31:00 +0000 (10:31 +0900)]
Cargo update
Caleb Cartwright [Mon, 7 Oct 2019 01:24:08 +0000 (20:24 -0500)]
don't fail on recoverable parser errors in ignored files (#3782)
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
Caleb Cartwright [Sat, 5 Oct 2019 17:34:48 +0000 (12:34 -0500)]
fix: support raw prefix identifiers in statics
Seiichi Uchida [Sat, 5 Oct 2019 14:40:24 +0000 (23:40 +0900)]
Update rustc-ap-* crates to 606.0.0 (#3835)
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)
rChaser53 [Fri, 4 Oct 2019 02:25:17 +0000 (11:25 +0900)]
stop to strip 'impl' from impl trait type alias (#3816)
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.
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)
Caleb Cartwright [Wed, 2 Oct 2019 14:56:20 +0000 (09:56 -0500)]
add --offline mode fallback to cargo fmt (#3813)
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
Ben Boeckel [Tue, 1 Oct 2019 23:18:59 +0000 (19:18 -0400)]
gitignore: ignore target as a symlink
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
Caleb Cartwright [Fri, 27 Sep 2019 01:11:11 +0000 (20:11 -0500)]
tests: add more merge_import tests for #3808
Caleb Cartwright [Fri, 27 Sep 2019 01:02:41 +0000 (20:02 -0500)]
fix: merge_imports handling of ::{self}
topecongiro [Tue, 24 Sep 2019 00:26:50 +0000 (09:26 +0900)]
Cargo fmt
Caleb Cartwright [Tue, 24 Sep 2019 00:25:19 +0000 (19:25 -0500)]
refactor to use param naming where appropriate (#3803)
Caleb Cartwright [Tue, 24 Sep 2019 00:24:05 +0000 (19:24 -0500)]
fix: handling of empty str for license template path (#3804)
Caleb Cartwright [Fri, 20 Sep 2019 07:11:52 +0000 (02:11 -0500)]
feat: support parameter attributes (#3793)
rChaser53 [Wed, 18 Sep 2019 13:39:27 +0000 (22:39 +0900)]
fix the error with long string in raw string (#3800)
Shotaro Yamada [Wed, 18 Sep 2019 13:37:08 +0000 (22:37 +0900)]
Use Cell instead of RefCell (#3798)
rChaser53 [Sun, 15 Sep 2019 14:45:46 +0000 (23:45 +0900)]
fix internal error when using rustfmt::skip with newline on stmt (#3785)
Caleb Cartwright [Wed, 11 Sep 2019 00:55:18 +0000 (19:55 -0500)]
fix: async expression indentation (#3789)
topecongiro [Sun, 8 Sep 2019 14:34:46 +0000 (23:34 +0900)]
Release v1.4.8
topecongiro [Sun, 8 Sep 2019 14:33:00 +0000 (23:33 +0900)]
Update CHANGELOG.md
Seiichi Uchida [Sun, 8 Sep 2019 14:33:21 +0000 (23:33 +0900)]
Update deps (#3788)
topecongiro [Fri, 6 Sep 2019 13:51:13 +0000 (22:51 +0900)]
Release v1.4.7
topecongiro [Fri, 6 Sep 2019 13:48:39 +0000 (22:48 +0900)]
Update CHANGELOG.md
Seiichi Uchida [Fri, 6 Sep 2019 13:41:03 +0000 (22:41 +0900)]
Update rustc-ap-* crates to 581.0.0 (#3783)
rChaser53 [Thu, 5 Sep 2019 10:38:00 +0000 (19:38 +0900)]
fix 'left behind trailing whitespace' (#3761)
Seiichi Uchida [Thu, 5 Sep 2019 02:15:46 +0000 (11:15 +0900)]
Fix handling of match arm's rewrite (#3775)
CreepySkeleton [Thu, 5 Sep 2019 02:15:19 +0000 (05:15 +0300)]
Add --config command line option (#3767)
Valentine Valyaeff [Wed, 4 Sep 2019 14:02:10 +0000 (17:02 +0300)]
Another fix for `merge_imports` (#3769)
Andrey [Wed, 4 Sep 2019 14:01:04 +0000 (17:01 +0300)]
do not remove discriminant value if exists (#3771) (#3772)
rChaser53 [Wed, 4 Sep 2019 14:00:26 +0000 (23:00 +0900)]
fix TrailingWhitespace when using line breaks in macros arguments (#3768)
Caleb Cartwright [Mon, 2 Sep 2019 09:36:51 +0000 (04:36 -0500)]
fix formatting mods inside cfg_if macro (#3763)
topecongiro [Wed, 28 Aug 2019 11:59:32 +0000 (20:59 +0900)]
Release v1.4.6
topecongiro [Wed, 28 Aug 2019 11:58:43 +0000 (20:58 +0900)]
Update CHANGELOG.md
Seiichi Uchida [Wed, 28 Aug 2019 11:50:41 +0000 (20:50 +0900)]
Forbid adding or removing a block from match arms inside macro calls (#3756)
rChaser53 [Wed, 28 Aug 2019 11:50:02 +0000 (20:50 +0900)]
fix the bug removing attrs (#3760)
Valentine Valyaeff [Tue, 27 Aug 2019 02:23:55 +0000 (05:23 +0300)]
Merge imports fix (#3753)
Caleb Cartwright [Tue, 27 Aug 2019 00:27:32 +0000 (19:27 -0500)]
feat: add support for --message-format option (#3752)
Hristo Venev [Mon, 26 Aug 2019 00:18:04 +0000 (01:18 +0100)]
Mark toml file as non-executable. (#3754)
Caleb Cartwright [Mon, 19 Aug 2019 02:11:35 +0000 (21:11 -0500)]
Fix line numbers in checkstyle output (#3694)
Caleb Cartwright [Mon, 19 Aug 2019 02:04:40 +0000 (21:04 -0500)]
add new flag to list names of misformatted files (#3747)
Seiichi Uchida [Mon, 19 Aug 2019 01:56:32 +0000 (10:56 +0900)]
Take the inner macro_use attr into acocunt while reordering (#3749)
Seiichi Uchida [Fri, 16 Aug 2019 02:15:28 +0000 (11:15 +0900)]
Use correct indent when formatting complex fn type (#3731)
Caleb Cartwright [Fri, 16 Aug 2019 02:14:53 +0000 (21:14 -0500)]
add json emit mode (#3735)
Caleb Cartwright [Tue, 13 Aug 2019 23:02:30 +0000 (18:02 -0500)]
tests: fix failing default config unit test (#3743)
topecongiro [Tue, 13 Aug 2019 14:26:54 +0000 (23:26 +0900)]
Release v1.4.5
topecongiro [Tue, 13 Aug 2019 14:23:51 +0000 (23:23 +0900)]
Update CHANGELOG
Seiichi Uchida [Tue, 13 Aug 2019 14:21:55 +0000 (23:21 +0900)]
Use the correct BytePos for the opening brace position (#3742)
Caleb Cartwright [Sun, 11 Aug 2019 03:49:14 +0000 (22:49 -0500)]
fix: remove trailing space with empty dyn macro arg (#3737)
Florian Gilcher [Fri, 9 Aug 2019 08:42:50 +0000 (10:42 +0200)]
Recommend running rustfmt last (#3733)
As rustfmt checks fail, they might hide errors of more importance.
Running it last makes sure that the serious bugs have been found and is less frustrating.
Seiichi Uchida [Tue, 6 Aug 2019 02:24:53 +0000 (11:24 +0900)]
Update CHANGELOG.md
topecongiro [Tue, 6 Aug 2019 02:14:12 +0000 (11:14 +0900)]
Release 1.4.4
topecongiro [Tue, 6 Aug 2019 02:14:00 +0000 (11:14 +0900)]
Update CHANGELOG.md
Seiichi Uchida [Tue, 6 Aug 2019 02:09:45 +0000 (11:09 +0900)]
Fix broken tuple pattern (#3729)
Cliff Dyer [Tue, 6 Aug 2019 02:07:12 +0000 (22:07 -0400)]
sorted configuration docs (#3723)
Caleb Cartwright [Mon, 5 Aug 2019 15:33:59 +0000 (10:33 -0500)]
fix: issue with --all when workspace member also exists in dep tree (#3726)
topecongiro [Fri, 2 Aug 2019 15:01:59 +0000 (00:01 +0900)]
Release 1.4.3