Commit Graph

4004 Commits

Author SHA1 Message Date
topecongiro
1704e24956 Cargo update 2018-09-04 00:17:26 +09:00
Nick Cameron
2291be7fa1
Merge pull request #2992 from max-sixty/clippy2
Clippy 2/2
2018-09-03 13:25:35 +12:00
Nick Cameron
a67208f212
Merge pull request #2986 from topecongiro/issue-2907
Handle chain w/ try operators with spaces
2018-09-03 13:10:50 +12:00
Nick Cameron
5fb9418aec
Merge pull request #2991 from topecongiro/raw-identifier-in-chain
Handle raw identifiers in chain
2018-09-03 13:08:19 +12:00
Maximilian Roos
968affc3e0
final clippy changes 2018-09-01 16:32:38 -04:00
Seiichi Uchida
08e282877a Handle raw identifiers in chain 2018-09-01 16:18:27 +09:00
Seiichi Uchida
627780864f
Merge pull request #2987 from YaLTeR/fix-issue-2930
Use correct shape in Visual tuple rewriting
2018-09-01 16:04:14 +09:00
Ivan Molodetskikh
54f8bcb5a2
Use correct fn args indent for Visual 2018-08-31 16:53:18 +03:00
Ivan Molodetskikh
05b6aaa130
Add debug logging to fn-related functions 2018-08-31 16:52:45 +03:00
Ivan Molodetskikh
430f848c75
Add a test for #2922 2018-08-31 16:25:01 +03:00
Ivan Molodetskikh
6a029974de
Fix shape in rewrite_tuple_in_visual_indent_style 2018-08-31 15:50:41 +03:00
Ivan Molodetskikh
098a5391f0
Add a test for #2930 2018-08-31 15:25:08 +03:00
Seiichi Uchida
ec6086b802
Merge pull request #2984 from mehcode/feature/edition-option
Accept 2015 and 2018 instead of Edition2015 and Edition2018 for edition option
2018-08-31 18:26:19 +09:00
Seiichi Uchida
ba9e159722 Update tests 2018-08-31 18:20:28 +09:00
Seiichi Uchida
20aac086d6 Simplify post-comment extraction 2018-08-31 18:20:28 +09:00
Seiichi Uchida
9df1dbe1ac Use trim_tries to extract post comment over simple trim_matches 2018-08-31 18:20:28 +09:00
Seiichi Uchida
612f1af734 Use trim_tries to extract pre-comments over simple trim_matches 2018-08-31 18:20:28 +09:00
Seiichi Uchida
2880d59ec0 Add trim_tries 2018-08-31 18:20:25 +09:00
Seiichi Uchida
1b8f0ff1b6 Add a test for #2907 2018-08-31 18:10:47 +09:00
Ryan Leckey
eec74360dc Accept 2015 and 2018 instead of Edition2015 and Edition2018 for edition option 2018-08-31 00:04:23 -07:00
Maximilian Roos
b1da2a53b4
Merge branch 'master' into clippy2 2018-08-31 00:19:12 -04:00
topecongiro
67480422b9 Handle raw string literal without any sharps 2018-08-31 10:49:39 +09:00
topecongiro
309be479b2 Handle raw string literals in CharClasses 2018-08-31 10:37:46 +09:00
topecongiro
c903119d8d Add a test for #2642 2018-08-31 10:37:22 +09:00
Nick Cameron
d88139893f
Merge pull request #2981 from topecongiro/issue-2956
Keep formatting fn even if there is an unformattable argument
2018-08-31 10:43:06 +12:00
Seiichi Uchida
ad903e08fd Keep formatting fn even if there is an unformattable argument 2018-08-30 23:39:39 +09:00
Seiichi Uchida
d8301050a5 Add a test for #2956 2018-08-30 23:38:40 +09:00
Nick Cameron
68015ecf52
Merge pull request #2980 from davidalber/use-stable-in-travis
Use stable Rust in Travis CI config snippet
2018-08-30 20:23:00 +12:00
David Alber
c69b9601c2 Use stable Rust in Travis CI config snippet
In #2725 the Travis CI config snippet was changed to use nightly
Rust because the stable rustfmt of the time (rustfmt 0.4.1-stable)
did not contain the `--check` flag, which is used in the Travis
config snippet. The current stable rustfmt (rustfmt 0.8.2-stable)
does contain the `--check` flag, so it is now possible to use the
Travis config in the README with stable rustfmt.
2018-08-29 21:59:12 -07:00
Nick Cameron
1a6f215fb5
Merge pull request #2975 from max-sixty/clippy
Some clippy changes
2018-08-30 16:43:04 +12:00
Nick Cameron
b784f23484
Merge pull request #2952 from crw5996/fix-use-bug
Fixed modsep operator for various rustlang editions
2018-08-30 11:18:04 +12:00
Maximilian Roos
af7b341a50
Merge branch 'master' into clippy2 2018-08-28 21:57:15 -04:00
Maximilian Roos
7d60e3a1ad
more clippy 2018-08-28 21:57:08 -04:00
Maximilian Roos
df72570b58
set of clippy changes 2018-08-28 00:33:51 -04:00
Seiichi Uchida
4f3c20c6b1
Merge pull request #2974 from max-sixty/readme
Remove old readme content
2018-08-28 13:08:25 +09:00
crw5996
18cd0c4986 Fixed overly complicated code as requested in the code review 2018-08-27 23:08:37 -04:00
crw5996
d832525809 Merge branch 'master' of https://github.com/rust-lang-nursery/rustfmt into fix-use-bug 2018-08-27 23:04:55 -04:00
crw5996
20075306f7 Fixed Issues brought up in PR 2018-08-27 22:59:44 -04:00
Maximilian Roos
2e75f23de8
remove old readme content 2018-08-27 22:53:47 -04:00
Nick Cameron
c4d845f998
Merge pull request #2972 from crw5996/fix-optional-arg-condensing
Fix optional arg condensing
2018-08-28 14:09:31 +12:00
crw5996
8c7afaf03b Refactored to not use a mutable variable 2018-08-27 15:33:49 -04:00
crw5996
5d642e8b23 Fixed #2955. Added value to determine whether or not rustfmt has condensed a tuple-struct
Refactored to not use a mutable variable
2018-08-27 15:25:40 -04:00
crw5996
3585706fa2 Merge branch 'master' of https://github.com/rust-lang-nursery/rustfmt into fix-optional-arg-condensing 2018-08-27 13:44:56 -04:00
crw5996
8c9a988bdc Fixed #2955. Added value to determine whether or not rustfmt has condensed a tuple-struct 2018-08-27 12:31:26 -04:00
Nick Cameron
4484609583
Merge pull request #2971 from topecongiro/issue-2969
Use span_ends_with_comma to find a trailing comma in an attribute
2018-08-27 23:01:27 +12:00
Seiichi Uchida
0d60f6715d Use span_ends_with_comma to find a trailing comma in an attribute 2018-08-27 16:37:58 +09:00
Seiichi Uchida
e1069403ca Add a test for #2969 2018-08-27 16:12:11 +09:00
Nick Cameron
1c408818c8 nightly-0.99.4 2018-08-27 11:19:18 +12:00
Nick Cameron
41cc462eaa Expect a couple of integration tests to fail 2018-08-27 11:14:23 +12:00
Nick Cameron
97d29ff2e1
Merge pull request #2942 from crw5996/fix-ellipsis-bug
Fix Issue with ellipsis matching in pattern.rs
2018-08-27 09:44:28 +12:00