rChaser53
da2ed095f3
add test for handling double semicolon ( #3706 )
2019-07-29 05:56:34 +09:00
Seiichi Uchida
983a92c872
Update rustc-ap-* crates to 541.0.0 ( #3707 )
2019-07-29 05:52:45 +09:00
Seiichi Uchida
a49e474b4f
Update CHANGELOG.md
2019-07-23 18:33:18 +09:00
Seiichi Uchida
b004329782
Simplify code around visit_fn ( #3698 )
2019-07-21 13:26:41 +09:00
Seiichi Uchida
c0e616bc1d
Implement closing-block procedure without relying on missed_span module ( #3691 )
2019-07-17 23:07:12 +09:00
Michele d'Amico
76e2ba25bd
#3665 : Implemented ( #3689 )
2019-07-17 09:40:33 +09:00
Seiichi Uchida
66c27c9161
Add #[ignore] to test that runs external process ( #3690 )
2019-07-16 19:36:23 +09:00
Seiichi Uchida
640b8d0257
Update CHANGELOG.md
2019-07-16 00:14:19 +09:00
topecongiro
65931cd09d
Release 1.3.3
2019-07-15 22:47:10 +09:00
topecongiro
e8b2ae1653
Update CHANGELOG.md
2019-07-15 22:44:44 +09:00
Seiichi Uchida
89940e541f
Fix bugs related to file-lines ( #3684 )
2019-07-15 22:41:56 +09:00
Stéphane Campinas
6487422b3e
fix print-config minimal option ( #3687 )
2019-07-15 20:58:54 +09:00
Stéphane Campinas
0e6896b229
Merge pull request #3683 from calebcartwright/accept-manifest-path
...
Add --manifest-path support to cargo fmt
2019-07-14 23:46:59 +02:00
calebcartwright
6f67f07752
refactor: simplify manifest_path option checks
2019-07-14 09:56:07 -05:00
calebcartwright
aef8e93514
Merge remote-tracking branch 'upstream/master' into accept-manifest-path
2019-07-14 09:30:11 -05:00
rChaser53
71289e1d23
fix 'extra comma inserted due to comment' ( #3677 )
2019-07-14 22:16:47 +09:00
Eric Huss
e55fc6be3b
Fix using --help, --verbose, etc. ( #3620 )
2019-07-14 10:25:53 +09:00
Ruben Schmidmeister
37695b3c45
Extract configuration snippet tests into own module ( #3667 )
...
* Extract configuration snippet tests into own module
* Move helper function outside of test function
2019-07-14 10:22:18 +09:00
calebcartwright
17cbbd8cbc
feat: add --manifest-path support to cargo fmt
2019-07-12 20:59:29 -05:00
topecongiro
679c8d5f10
Release 1.3.2
2019-07-06 14:22:30 +09:00
topecongiro
c1c532c8ff
Update CHANGELOG.md
2019-07-06 14:22:19 +09:00
Seiichi Uchida
3200af9785
Do not consider macro-origin await as chain item ( #3671 )
2019-07-06 14:17:53 +09:00
Caleb Cartwright
ff49b80628
fix: handling of --all when dep name and dir name differ ( #3664 )
2019-07-06 14:17:35 +09:00
topecongiro
44149d6ba4
Release 1.3.1
2019-06-30 13:20:32 +09:00
topecongiro
8c29e8be74
Update rustfmt-config_proc_macro to 0.1.2
2019-06-30 13:10:16 +09:00
topecongiro
a8ca806a5e
Update rustfmt-config_proc_macro to 0.1.1
2019-06-30 13:04:08 +09:00
Stéphane Campinas
1f06a8b361
fix extraction of missing comments when rewriting an empty where clause ( #3663 )
2019-06-30 12:19:24 +09:00
Stéphane Campinas
b6f7f24915
Merge pull request #3661 from calebcartwright/associated-type-bounds
...
fix handling on associated type bounds
2019-06-29 21:10:48 +02:00
calebcartwright
d9e42aea74
tests: add tests for assoscaited_type_bounds fix
2019-06-29 10:11:20 -05:00
Caleb Cartwright
1ee51a4125
Add support for windows-style paths in ignore patterns ( #3633 )
2019-06-29 15:51:27 +09:00
calebcartwright
731f7d5200
fix: handling of associated type bounds
2019-06-28 16:15:42 -05:00
Nikhil Benesch
e0e2f0db53
Don't panic on license check errors ( #3655 )
...
Without this case, an ErrorKind::LicenseCheck results in a panic:
thread 'main' panicked at 'internal error: entered unreachable code', src/tools/rustfmt/src/formatting.rs:320:18
N.B.: errors of this type are only raised when the configuration file
contains `license_tempate_path = "TEMPLATE_FILE"`.
2019-06-26 10:51:11 +09:00
Caleb Cartwright
c955b5908e
fix: run in sub dirs/workspace member dirs ( #3652 )
2019-06-25 23:15:33 +09:00
rChaser53
9986b9d011
fix internal error for long closure types ( #3653 )
2019-06-25 23:14:19 +09:00
Nootan Ghimire
561653326d
Add newline after help text ( #3650 )
2019-06-25 11:44:14 +09:00
rChaser53
26d370e9e5
remove unreachable!() ( #3646 )
2019-06-23 16:24:40 +09:00
rChaser53
5b0ce0ed12
avoid not to truncate necessary chars ( #3640 )
2019-06-23 14:32:14 +09:00
Seiichi Uchida
1d19a08ed4
Format the last expression-statement as expression ( #3631 )
2019-06-17 08:53:39 +09:00
Stéphane Campinas
84c2356590
handle unicode chars in closures ( #3632 )
...
The `NotUnicode` branch was unecessarily put on a new line, although it
was within max width:
```diff
fn baz() {
let our_error_b = result_b_from_func.or_else(|e| match e {
NotPresent => Err(e).chain_err(|| "env var wasn't provided"),
- NotUnicode(_) => Err(e).chain_err(|| "env var was very very very borkæ–‡å—化ã"),
+ NotUnicode(_) => {
+ Err(e).chain_err(|| "env var was very very very borkæ–‡å—化ã")
+ }
});
}
```
2019-06-17 08:53:17 +09:00
Caleb Cartwright
944fc57e10
tests: ensure min number of system/idempotent tests ran ( #3629 )
2019-06-16 23:47:22 +09:00
Caleb Cartwright
aa0c9dd212
tests: add normalize_doc_attributes config tests ( #3630 )
2019-06-16 23:46:25 +09:00
Stéphane Campinas
4b102fde2c
Merge pull request #3628 from topecongiro/issue-3627
...
Fix is_subpath
2019-06-14 14:07:07 +02:00
Seiichi Uchida
a4eab17d7c
Fix is_subpath
2019-06-14 19:16:17 +09:00
Ruben Schmidmeister
dbac28b4b4
Use trait to abstract emit modes ( #3616 )
2019-06-13 06:59:20 +09:00
Stéphane Campinas
1cea171cef
Improve handling of unicode characters ( #3618 )
2019-06-12 20:28:29 +09:00
Stéphane Campinas
04add0cd38
implement Display for enums with attribute config_type ( #3621 )
2019-06-12 20:20:42 +09:00
Stéphane Campinas
71fa7946a1
Add CHANGELOG entry for the 1.3.0 release ( #3612 )
2019-06-10 23:49:36 +09:00
topecongiro
d33450247b
Rename config_proc_macro to rustfmt-config_proc_macro
2019-06-09 22:29:36 +09:00
Seiichi Uchida
0e3cf08ff1
Release 1.3.0 ( #3611 )
2019-06-09 21:28:57 +09:00
Seiichi Uchida
47a11cd516
Format modules defined in cfg_attr ( #3604 )
2019-06-09 09:20:39 +09:00