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
|
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 |
|
Ivan Veselov
|
8443262781
|
Use structopt for rustfmt-format-diff arguments parsing
|
2019-05-23 22:59:26 +01: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 |
|
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 |
|
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 |
|
Ruben Schmidmeister
|
1ba35fc9b5
|
Document DocCommentFormatter
|
2019-05-18 11:50:09 +02:00 |
|
Ruben Schmidmeister
|
11a68d313a
|
Pass string instead of Symbol to DocCommentFormatter
|
2019-05-18 11:47:54 +02:00 |
|
Ruben Schmidmeister
|
8d4cb6e783
|
Use peek() instead of checking indexes
|
2019-05-18 11:42:49 +02:00 |
|
Ruben Schmidmeister
|
9b98dd774e
|
Merge branch 'master' into normalize-multiline-doc-attributes
|
2019-05-18 11:27:35 +02:00 |
|
Ruben Schmidmeister
|
8b57668c33
|
Move macro to separate module
|
2019-05-17 16:13:46 +02:00 |
|
Ruben Schmidmeister
|
4745cec7f3
|
Re-use nightly channel macro
|
2019-05-17 16:07:49 +02:00 |
|
Ruben Schmidmeister
|
fd22c27c47
|
Allow tests to be run on nightly only
|
2019-05-17 15:58:01 +02:00 |
|
rchaser53
|
53142b486d
|
use the span between the self_ty and left brace
|
2019-05-16 21:27:34 +09:00 |
|
rchaser53
|
bdf105245b
|
fix Const generics are handled incorrectly
|
2019-05-16 13:22:25 +09:00 |
|
Seiichi Uchida
|
531b2d9136
|
Merge pull request #3535 from xiongmao86/issue3417
Try to solve issue 3417.
|
2019-05-16 11:12:56 +09:00 |
|
Ruben Schmidmeister
|
424193041f
|
Remove unnecessary comma
|
2019-05-15 18:29:04 +02:00 |
|
Ruben Schmidmeister
|
c84785d93c
|
Use raw strings
|
2019-05-15 18:17:48 +02:00 |
|
Ruben Schmidmeister
|
c724528bf9
|
Avoid unnecessary allocation
|
2019-05-15 17:39:43 +02:00 |
|
Ruben Schmidmeister
|
6a406a822d
|
Return iterator instead of collecting early
|
2019-05-14 20:38:28 +02:00 |
|
Ruben Schmidmeister
|
b875fe9485
|
Name field more verbosely
This makes the comment above it obsolete
|
2019-05-14 20:23:55 +02:00 |
|
Ruben Schmidmeister
|
3eb8e4d33c
|
Ignore unstable key when overriding config
|
2019-05-13 09:40:16 +02:00 |
|
Ruben Schmidmeister
|
4ac0d35ebb
|
Only run test on nightly
|
2019-05-12 23:03:48 +02:00 |
|
Ruben Schmidmeister
|
47a0f78b3b
|
Fix normalisation of multi-line doc attributes
|
2019-05-11 15:07:16 +02:00 |
|
xiongmao86
|
a956a20532
|
Revert "Revert "Change config option from format_doc_comments to format_code_in_doc_comments.""
This reverts commit 97d7216cd4ebce511d5707ec5dd8b7b8fe771cba.
|
2019-05-10 21:22:52 +08:00 |
|
Stéphane Campinas
|
cc97eaf9f9
|
Merge pull request #3546 from bash/unreachable-pub
Enable unreachable_pub lint
|
2019-05-10 09:59:07 +02:00 |
|
Stéphane Campinas
|
4bc5911348
|
Merge pull request #3526 from bash/refactor-apply-newline-style
Refactor apply newline style
|
2019-05-10 09:48:01 +02:00 |
|
Ruben Schmidmeister
|
d1c1f8e61e
|
Run rustfmt
|
2019-05-09 21:13:32 +02:00 |
|
Ruben Schmidmeister
|
618d092bf7
|
Enable unreachable_pub lint
|
2019-05-09 20:37:51 +02:00 |
|
Andy Russell
|
ee6f686cc9
|
use derive feature over serde_derive crate
|
2019-05-09 13:22:44 -04:00 |
|
Ruben Schmidmeister
|
821a370417
|
Add tests to cover more edge cases
|
2019-05-09 17:51:02 +02:00 |
|
Ruben Schmidmeister
|
1f09d94cbb
|
Make sure windows newlines don't gain an extra carriage return
|
2019-05-09 17:44:52 +02:00 |
|
Ruben Schmidmeister
|
f54fc2f2fc
|
Implement conversion to unix newlines
|
2019-05-09 17:22:16 +02:00 |
|
xiongmao86
|
97d7216cd4
|
Revert "Change config option from format_doc_comments to format_code_in_doc_comments."
This reverts commit 6a6924c12b2ad9a99686df9b3d65fd2dd8647665.
|
2019-05-08 16:51:32 +08:00 |
|
Stéphane Campinas
|
da1e3c9635
|
Merge pull request #3540 from rchaser53/issue-3539
correct to get wrong BytePos
|
2019-05-06 22:31:38 +02:00 |
|
xiongmao86
|
6a6924c12b
|
Change config option from format_doc_comments to format_code_in_doc_comments.
|
2019-05-06 19:45:34 +08:00 |
|
David Alber
|
bfe5e9c108
|
Fix condition typo
|
2019-05-05 11:55:11 -07:00 |
|
rchaser53
|
7a93a26aad
|
correct to get wrong BytePos
|
2019-05-06 00:01:13 +09:00 |
|