3981 Commits

Author SHA1 Message Date
topecongiro
c903119d8d Add a test for 2018-08-31 10:37:22 +09:00
Nick Cameron
d88139893f
Merge pull request 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 2018-08-30 23:38:40 +09:00
Nick Cameron
68015ecf52
Merge pull request 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  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 from max-sixty/clippy
Some clippy changes
2018-08-30 16:43:04 +12:00
Nick Cameron
b784f23484
Merge pull request 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 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 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 . 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 . 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 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 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 from crw5996/fix-ellipsis-bug
Fix Issue with ellipsis matching in pattern.rs
2018-08-27 09:44:28 +12:00
Nick Cameron
d456161b67
Merge pull request from topecongiro/issue-2953
Format in-place expression like assignment
2018-08-27 09:39:08 +12:00
Nick Cameron
454a20ac01
Merge pull request from CAD97/patch-2
Consider "dev" as nightly for feature (un)gating
2018-08-27 09:23:16 +12:00
Seiichi Uchida
78a0cde5bf Format in-place expression like assignment 2018-08-26 13:20:25 +09:00
Seiichi Uchida
6aae9d870f Remove an unnecessary attribute 2018-08-26 13:20:07 +09:00
Seiichi Uchida
e5a41e5682 Add a test for 2018-08-26 13:19:44 +09:00
Zach Lute
ca19c9a35a Fix build with rust nightly by updating try block syntax. () 2018-08-26 13:02:24 +09:00
Maximilian Roos
10512a59d0 Impl only use () 2018-08-24 14:39:05 +09:00
chris
4e748a269e Fixed ellipsis bug where rustfmt was creating code that could not be parsed 2018-08-24 00:58:21 -04:00
Nick Cameron
f009252a6a
Merge pull request from CAD97/master
Rename CodeMap/FileMap to SourceMap/SourceFile
2018-08-24 11:17:15 +12:00
cad97
fc1909d311 Reformat 2018-08-23 17:14:19 -04:00
cad97
04d804c365 Rename CodeMap/FileMap to SourceMap/SourceFile
2018-08-23 17:10:46 -04:00
Christopher Durham
8cc4200b7d
Consider "dev" as nightly for feature (un)gating 2018-08-23 04:28:44 -04:00
Christopher Durham
a15df80e96
Consider "dev" as nightly for feature (un)gating
Closes 
2018-08-23 04:24:15 -04:00
Nick Cameron
693c7d69f9 nightly-0.99.3 2018-08-23 15:34:45 +12:00
Nick Cameron
8573df602a
Merge pull request from scampi/issue539
discard trailing blank comments
2018-08-23 10:13:56 +12:00
Nick Cameron
f40baaa272
Merge pull request from topecongiro/rustc-ap-syntax
Cargo update
2018-08-21 20:28:56 +12:00
Nick Cameron
127a480726
Merge pull request from Xanewok/file-lines-ser-json
Expose FileLines JSON representation
2018-08-21 20:26:25 +12:00
Seiichi Uchida
dfe4eef8fc Remove an invalid attribute from a test
This has become a parser error.
2018-08-19 00:26:56 +09:00
Seiichi Uchida
05a0c8140d Update import path to ThinVec 2018-08-19 00:26:34 +09:00
Seiichi Uchida
9d9f2b18e4 Cargo update
Update `rustc-ap-*` to 230.0.0.
2018-08-19 00:26:11 +09:00
Nick Cameron
a275a059e7
Merge pull request from topecongiro/issue-2919
Use correct max width when formatting macro body
2018-08-17 10:07:59 -07:00
Stéphane Campinas
2db2327aaf
fix verbose output 2018-08-16 20:00:49 +02:00
Stéphane Campinas
dd14d304ef
discard trailing blank comments 2018-08-16 19:59:32 +02:00