Commit Graph

4562 Commits

Author SHA1 Message Date
Seiichi Uchida
47a11cd516
Format modules defined in cfg_attr (#3604) 2019-06-09 09:20:39 +09:00
Seiichi Uchida
e71bffb008
Format modules defined inside cfg_if macro calls (#3600) 2019-06-08 18:47:18 +09:00
Stéphane Campinas
87565c42ce
Merge pull request #3607 from topecongiro/issue-3493
Ignore sub-modules when skip-children is used
2019-06-08 09:50:12 +02:00
topecongiro
788a4cbe4f
Add a test for #3493 2019-06-08 14:52:49 +09:00
Marcel Hellwig
eea8af0183 removed bitrig support (#3608)
bitrig support has been removed (by me) in https://github.com/rust-lang/rust/pull/60775
2019-06-07 16:56:30 +09:00
topecongiro
dae63e98ce
Ignore sub-modules when skip-children is used 2019-06-07 14:55:41 +09:00
rChaser53
5607178d0a fix the bug add unwanted code to impl (#3601) (#3602) 2019-06-06 13:06:40 +09:00
Stéphane Campinas
e0459eb3fe inline the attribute with its item even with the macro_use attribute or when reorder_imports is disabled (#3598) 2019-06-05 00:14:12 +09:00
Seiichi Uchida
2244f326e6
Cargo update (#3559)
Update `rustc-ap-*` crates to 486.0.0.
2019-06-03 23:57:02 +09:00
Stéphane Campinas
e6b60a40d5 stabilise fn_args_density (#3581) 2019-06-03 22:26:48 +09:00
Seiichi Uchida
19220942d3
Merge pull request #3596 from rchaser53/issue-3595
add tests for issue-3595
2019-05-30 23:07:09 +09:00
rchaser53
0c30bd3b47 add tests for issue-3595 2019-05-30 21:03:29 +09:00
Stéphane Campinas
6d19a8c71d
Merge pull request #3586 from topecongiro/issue-3584
Format trait aliases with where clauses
2019-05-30 09:39:15 +02:00
rChaser53
fbd9f335f9 fix Erasing inner attributes in struct (#3593) 2019-05-30 07:31:48 +09:00
Stéphane Campinas
1c210eb3c6
Merge pull request #3589 from topecongiro/issue-3583
Catch panics from the parser while rewriting macro calls
2019-05-28 00:49:28 +02:00
topecongiro
36dd49ae5f Set macro_rewrite_failure to true on catching panic 2019-05-28 00:15:14 +09:00
topecongiro
f7cd789ebc Catch panics from the parser while rewriting macro calls 2019-05-28 00:03:50 +09:00
topecongiro
1c1b4f76bd Add a test for #3583 2019-05-28 00:03:42 +09:00
topecongiro
c1373b267b Format trait aliases with where clauses 2019-05-26 21:15:55 +09:00
topecongiro
95c2ad37e1 Refactor rewrite_where_clause 2019-05-26 21:15:38 +09:00
topecongiro
264417e10d Add tests for trait aliases with where clauses 2019-05-26 21:14:59 +09:00
Seiichi Uchida
1b027464e2
Merge pull request #3582 from sphynx/master
Use structopt for rustfmt-format-diff arguments parsing
2019-05-26 16:58:13 +09:00
Ivan Veselov
8443262781 Use structopt for rustfmt-format-diff arguments parsing 2019-05-23 22:59:26 +01:00
Seiichi Uchida
e0664662b4
Update the documentation of ignore (#3580) 2019-05-23 09:43:43 +09:00
Stéphane Campinas
0c05a21b3a Document some additional points about maintaining rustfmt (#3579) 2019-05-22 22:48:40 +09:00
Seiichi Uchida
a7d4ec92cb Implement Serialize on IgnoreList (#3565)
* Implement Serialize on IgnoreList

* Add a test for #3536
2019-05-22 09:41:57 +02:00
Seiichi Uchida
b5449ba785
Allow overflowing rhs of unit variant (#3566) 2019-05-22 10:51:19 +09:00
Seiichi Uchida
72ca0e5f2c
Merge pull request #3577 from topecongiro/issue-3575
Insert an empty line when normalizing `#[doc = ""]`
2019-05-22 10:49:12 +09:00
Seiichi Uchida
86dad6e3dd
Merge pull request #3576 from rchaser53/issue-3567
add the handling for vec! with paren inside macro
2019-05-22 07:00:07 +09:00
Seiichi Uchida
2787138936
Merge pull request #3569 from sphynx/master
Use structopt for command line arguments parsing in cargo-fmt
2019-05-22 06:58:39 +09:00
Ivan Veselov
a7afdeb9b8 Drop only the first occurrence of fmt while preparing CLI arguments 2019-05-21 16:36:53 +01:00
Ivan Veselov
32fbe75a4c Drop extra fmt command line argument provided by cargo 2019-05-21 16:36:53 +01:00
Ivan Veselov
ed073a9b7c Use structopt for command line arguments parsing in cargo-fmt 2019-05-21 16:36:53 +01:00
topecongiro
bdb72237a2 Insert an empty line when normalizing #[doc = ""] 2019-05-22 00:10:46 +09:00
topecongiro
2445f0ea76 Add a test for #3575 2019-05-22 00:10:35 +09:00
rchaser53
bee1a32f26 add the handling for vec! with paren inside macro 2019-05-22 00:07:56 +09:00
rChaser53
0ef2144c82 not to avoid self (#3570) 2019-05-21 11:43:27 +09:00
Seiichi Uchida
530086046f
Merge pull request #3573 from scampi/issue-3525
Update changelogs
2019-05-21 11:42:55 +09:00
Stéphane Campinas
5bcaac6b38
changelog for 1.2.2 2019-05-20 23:46:00 +02:00
Stéphane Campinas
08ea8efc9f
changelog for 1.2.1 2019-05-20 23:39:40 +02:00
Stéphane Campinas
c64f0698f0
changelog for 1.2.0 2019-05-20 23:30:15 +02:00
Stéphane Campinas
eaefa27c31
changelog for 1.1.1 2019-05-20 23:26:50 +02:00
Stéphane Campinas
bd799e554f
changelog for 1.1.0 2019-05-20 23:20:03 +02:00
Stéphane Campinas
312a727c7d
changelog for 1.0.3 2019-05-20 22:50:15 +02:00
Stéphane Campinas
fa59a683c0
changelog for 1.0.2 2019-05-20 22:48:29 +02:00
Stéphane Campinas
7a711b357e
changelog for 1.0.1 2019-05-20 22:15:58 +02:00
Stéphane Campinas
b7dec0c357
changelog for 1.0.0 2019-05-20 22:06:44 +02:00
Stéphane Campinas
416795d1d6
changelog for 0.99.9 2019-05-20 21:10:34 +02:00
Stéphane Campinas
c51c27034a
changelog for 0.99.8 2019-05-20 21:07:56 +02:00
Stéphane Campinas
ca18c45d99
changelog for 0.99.7 2019-05-20 20:58:16 +02:00