Commit Graph

3856 Commits

Author SHA1 Message Date
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
Nick Cameron
d456161b67
Merge pull request #2966 from topecongiro/issue-2953
Format in-place expression like assignment
2018-08-27 09:39:08 +12:00
Nick Cameron
454a20ac01
Merge pull request #2948 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 #2953 2018-08-26 13:19:44 +09:00
Zach Lute
ca19c9a35a Fix build with rust nightly by updating try block syntax. (#2965) 2018-08-26 13:02:24 +09:00
Maximilian Roos
10512a59d0 Impl only use (#2951) 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 #2950 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
#2946
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 #2940
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 #2925 from scampi/issue539
discard trailing blank comments
2018-08-23 10:13:56 +12:00
Nick Cameron
f40baaa272
Merge pull request #2935 from topecongiro/rustc-ap-syntax
Cargo update
2018-08-21 20:28:56 +12:00
Nick Cameron
127a480726
Merge pull request #2915 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 #2920 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
Stéphane Campinas
f23e6aaaf9
fix the identification of a block comment.
Block comments like below were not properly supported:

    /*
       something here but it doesn't start with a star
     */

because of the line that didn't start with a star.
2018-08-16 19:55:15 +02:00
Seiichi Uchida
b318e5a684 Increase the max width by tab width when using format_code_block
since the macro body will be surrounded by fn main block.
2018-08-16 07:49:55 +09:00
Seiichi Uchida
9a5a86164f Reduce the max width by the width of indent 2018-08-16 07:49:55 +09:00
Seiichi Uchida
71dc033fca Add a test for #2919 2018-08-16 07:49:50 +09:00
Igor Matuszewski
9d52940dbe Run cargo fmt 2018-08-14 23:23:00 +02:00
Igor Matuszewski
38361c05bc Make file_lines_to_json test deterministic 2018-08-14 23:22:09 +02:00
Igor Matuszewski
4604f46ce8 Expose FileLines JSON representation 2018-08-14 13:33:58 +02:00
Nick Cameron
7c1ad96e9f
Merge pull request #2912 from topecongiro/fix-slice-pattern
Do not show wildcard pattern in slice pattern
2018-08-13 12:49:54 +12:00
Seiichi Uchida
934cf2807d Remove a wildcard parttern from slice patterns 2018-08-12 23:56:09 +09:00
Seiichi Uchida
996dbbf960 Add a test for slice patterns 2018-08-12 23:55:34 +09:00
Seiichi Uchida
af3c3c694b
Merge pull request #2910 from OddBloke/patch-1
Correct the ordering of the config help option
2018-08-11 12:27:29 +09:00
Daniel Watkins
66bd0d472b
Correct the ordering of the config help option 2018-08-10 20:05:54 -04:00
Nick Cameron
6a8a06ab2c
Merge pull request #2902 from topecongiro/update-readme
Update readme
2018-08-07 19:09:15 +12:00
Seiichi Uchida
cb10e06559 Replace '--conifig-help' with '--config=help' 2018-08-07 13:00:30 +09:00
Seiichi Uchida
264f6b8690 Remove outdated paragraphs 2018-08-07 12:58:49 +09:00
Nick Cameron
66d3924aa8
Merge pull request #2899 from topecongiro/chain-with-comments
Format chains with comment
2018-08-07 15:07:23 +12:00
Nick Cameron
ff1cb7d9f7
Merge pull request #2901 from topecongiro/issue-2760
Use custom path value if one exists when searching modules
2018-08-07 14:53:26 +12:00
Nick Cameron
5c9a2b6c13 Update rustc-ap-syntax 2018-08-07 11:30:44 +12:00
Seiichi Uchida
a201d856d1 Add comment 2018-08-06 22:34:58 +09:00
Seiichi Uchida
4ad1c66001 Use custom path value if one exists when searching modules 2018-08-06 22:28:05 +09:00
Nick Cameron
803d000ed3
Merge pull request #2900 from topecongiro/combine-attrs
Combine function-like attributes
2018-08-06 19:37:05 +12:00
Nick Cameron
e4d560b914
Merge pull request #2897 from topecongiro/issue-2896
Ignore comment in wrap_str
2018-08-06 19:36:03 +12:00
Nick Cameron
8cd6633499
Merge pull request #2892 from topecongiro/issue-2884
Explicitly handle semicolon after the item in statement position
2018-08-06 19:34:44 +12:00
Nick Cameron
f6a76c443e
Merge pull request #2890 from topecongiro/use-builder-pattern-for-ListFormatting
Use builder pattern for ListFormatting
2018-08-06 19:34:08 +12:00
Seiichi Uchida
b1c241ea72 Combine list-like attributes 2018-08-06 08:10:19 +09:00