Joshua Nelson
c3a5111106
Fix some clippy warnings
...
This commit can be replicated with
`cargo clippy --fix -Z unstable-options && cargo +nightly-2021-02-10 fmt`.
2021-02-18 20:20:29 -06:00
David Bar-On
432e09e89f
Add the use of rewrite_assign_rhs_with_comments to 1.x
2021-02-17 20:47:20 -06:00
David Bar-On
4b0ed96f2e
Fix for issue 4603 about extra macro body indentation (third version)
2021-02-17 20:19:27 -06:00
Joshua Nelson
6170948820
Fix warnings
...
- Fix nightly warning about `format!`
- Remove unused functions and fields
2021-02-17 20:14:46 -06:00
Thomas Eizinger
6b64e30d57
Bump rustc-ap-* crates to version 706
2021-02-13 11:29:47 -06:00
Caleb Cartwright
7de6968ee2
meta: bump to v1.4.36
2021-02-07 12:46:43 -06:00
Caleb Cartwright
9ed75111e2
deps: apply rustc-ap v705 changes to itemkind variants
2021-02-07 12:46:43 -06:00
Caleb Cartwright
b80fdf2971
chore: bump rust toolchain version
2021-02-07 12:46:43 -06:00
Caleb Cartwright
67faa61e9c
deps: bump rustc-ap crates to v705
2021-02-07 12:46:43 -06:00
Caleb Cartwright
55d2620216
meta: bump version to v1.4.35
2021-02-03 21:05:15 -06:00
Caleb Cartwright
82a65284d0
chore: bump toolchain file
2021-02-03 21:05:15 -06:00
Caleb Cartwright
7db2ba86b0
deps: bump rustc-ap to v702
2021-02-03 21:05:15 -06:00
Caleb Cartwright
58ac85b58e
deps: bump rustc-ap crates to v701.0.0
2021-02-03 21:05:15 -06:00
Dave Rolsky
ead937b863
Add arch name to archive files created in the upload workflow ( #4679 )
...
* Add arch name to archive files created in the upload workflow
* Fix arch names in matrix.build key to include arch name as well
2021-02-03 21:05:15 -06:00
Caleb Cartwright
ea268b9f55
meta: bump to v1.4.34
2021-01-28 22:01:50 -06:00
Caleb Cartwright
b8f318c303
fix: don't insert trailing comma on struct lit rest in mac def
2021-01-28 22:01:50 -06:00
Caleb Cartwright
d80a42fdd8
tests: add case for issue 4675
2021-01-28 22:01:50 -06:00
Caleb Cartwright
f0fe48f2bd
meta: bump to v1.4.33
2021-01-27 20:58:42 -06:00
Caleb Cartwright
c13d2452c0
chore: backport some empty block check fixes
2021-01-27 20:58:42 -06:00
Caleb Cartwright
bd4dc36c4e
refactor: cleanup block check for statements
2021-01-27 20:58:42 -06:00
vallentin
3e61326716
Fixed semicolon getting moved into comment ( fixes #4646 )
2021-01-27 20:58:42 -06:00
vallentin
1e2b0b7c72
Added 4646 test case
2021-01-27 20:58:42 -06:00
Michael Morgan
384ba68d64
Add imports_granularity="Item".
...
This option splits all imports into their own `use` statement.
2021-01-27 20:58:42 -06:00
Sean Klein
5e14f760c5
fix: Avoid incorrect global 'cfg_if' Symbol interning
...
Fixes #4656
2021-01-27 19:26:58 -06:00
Caleb Cartwright
110271469a
chore: update Changelog with const generic backports
2021-01-27 18:50:03 -06:00
Ayaz Hafiz
f8deed3a3a
Include const generic type bounds in their spans
...
Closes #4310
2021-01-27 18:50:03 -06:00
topecongiro
152ccb5059
Do not duplicate const keyword on parameters
2021-01-27 18:50:03 -06:00
Seiichi Uchida
c0fede355c
Use the span after generics and where clause ( #4208 )
2021-01-27 18:50:03 -06:00
hafiz
269584634a
Include constness in impl blocks ( #4215 )
...
Closes #4084
2021-01-27 18:50:03 -06:00
Geoffry Song
17bad2b3c0
Tweak imports_granularity documentation
2021-01-17 11:48:47 -06:00
Geoffry Song
0d60a616ab
Disable deprecated_option_merge_imports tests on non-nightly
2021-01-17 11:48:47 -06:00
Geoffry Song
71863753bd
Rename merge_imports
to imports_granularity
and add a Module
option.
...
This renames the existing `true`/`false` options to `Crate`/`Never`, then adds a
new `Module` option which causes imports to be grouped together by their
originating module.
2021-01-17 11:48:47 -06:00
Caleb Cartwright
216a643005
meta: bump version v1.4.32
2021-01-16 11:17:23 -06:00
Caleb Cartwright
590f6a10ca
meta: update license years
2021-01-16 11:17:23 -06:00
Caleb Cartwright
c4d551cdf5
refactor: remove unneeded clone
2021-01-16 11:17:23 -06:00
Caleb Cartwright
b30cb24286
fix: indentation issue on generic bounds
2021-01-16 11:17:23 -06:00
Caleb Cartwright
4f9c794ce1
meta: bump to v1.4.31
2021-01-09 12:45:43 -06:00
Caleb Cartwright
b57469d16e
ci: add mingw to path for asset upload job
2021-01-09 12:45:08 -06:00
Caleb Cartwright
3571c5d6f7
fix: maintain redundant semis on items in statement pos
2021-01-09 12:11:52 -06:00
Mara Bos
c59b147d67
Update Cargo.lock.
2021-01-09 12:11:52 -06:00
Mara Bos
f0eaaeda9e
Add 2021 test.
2021-01-09 12:11:52 -06:00
Mara Bos
b623eb324c
Fix expected macro formatting test output.
2021-01-09 12:11:52 -06:00
Mara Bos
5bb17a0d36
Account for new ast::GenericParamKind::Const::default in rust_ast.
2021-01-09 12:11:52 -06:00
Mara Bos
a6b0c18dc9
Bump rustc-ap to v697.
2021-01-09 12:11:52 -06:00
Mara Bos
4644418556
Fixes for new rustc changes.
2021-01-09 12:11:52 -06:00
Mara Bos
398d2f96c3
Add support for edition 2021.
2021-01-09 12:11:52 -06:00
Caleb Cartwright
d8e0d00377
ci: fix linking issue on windows gnu jobs
2021-01-09 12:11:52 -06:00
Caleb Cartwright
acd94866fd
meta: bump to v1.4.30
2020-12-20 12:05:05 -06:00
Seiichi Uchida
0d022d08d8
Format error and typeof types ( #4416 )
...
* Add a test for #4357
* Format error and typeof types
2020-12-20 12:05:05 -06:00
Stéphane Campinas
c536d80dc1
Fix rewrite of closures with a return type
...
If the closure's body fits in a line, the block is removed but it is
necessary if the closure has a return type.
2020-12-20 12:05:05 -06:00