topecongiro
|
3a98b5a5be
|
Format trait aliases
|
2017-12-15 13:47:52 +09:00 |
|
topecongiro
|
d60c2ec5d3
|
Add an initial support for trait aliases
|
2017-12-15 10:35:07 +09:00 |
|
Seiichi Uchida
|
516f15aba1
|
Cargo clippy
|
2017-12-12 13:48:12 +09:00 |
|
Seiichi Uchida
|
414a995926
|
Replace StringBuffer with String
|
2017-12-11 09:19:00 +09:00 |
|
topecongiro
|
821d04b2a4
|
Do not report errors on skipped items or statements
|
2017-12-08 17:46:43 +09:00 |
|
topecongiro
|
5e6bb3edb0
|
Keep track of line number in visitor
|
2017-12-08 16:59:04 +09:00 |
|
Seiichi Uchida
|
3ebe054362
|
Replace into() on &str with to_owned()
|
2017-12-08 13:07:42 +09:00 |
|
Seiichi Uchida
|
c776443981
|
Remove unused lifetime
|
2017-12-08 13:07:28 +09:00 |
|
Seiichi Uchida
|
d6d8d86e94
|
Replace &Rc<String> with &str
|
2017-12-07 17:32:19 +09:00 |
|
Seiichi Uchida
|
c0eb8c3212
|
Add FmtVisitor::from_context()
|
2017-12-07 13:57:54 +09:00 |
|
Seiichi Uchida
|
1d9a10e00e
|
Use explicit lifetime to get rid of unsafe code
at least this is why we use Rust
|
2017-12-07 13:57:54 +09:00 |
|
Seiichi Uchida
|
7c4a84751f
|
Convert '&str' into 'String' whenever necessary
|
2017-12-07 13:57:52 +09:00 |
|
Seiichi Uchida
|
69a15b2eee
|
Update FmtVisitor::from_codemap()
|
2017-12-06 22:51:52 +09:00 |
|
Seiichi Uchida
|
0928762562
|
Use SnippetProvider in FmtVisitor and RewriteContext
|
2017-12-06 22:49:49 +09:00 |
|
Seiichi Uchida
|
98860ab890
|
Add SnippetProvider
|
2017-12-06 22:48:48 +09:00 |
|
Seiichi Uchida
|
228578b9c7
|
Add count_newlines() utility function
|
2017-12-05 15:17:40 +09:00 |
|
Seiichi Uchida
|
483f71c8b1
|
Merge pull request #2218 from pietroalbini/fix-ast-for-use_nested_groups
Fix broken build after use_nested_groups lands on nightly
|
2017-12-02 16:34:16 +09:00 |
|
Pietro Albini
|
9d8cfbcd93
|
Fix imports formatting broken after AST change
|
2017-12-01 00:18:00 +01:00 |
|
topecongiro
|
22c9025027
|
Format source codes
|
2017-11-30 18:00:49 +09:00 |
|
Seiichi Uchida
|
f99b775de7
|
Rename is_dummy to has_braces
|
2017-11-30 06:40:29 +09:00 |
|
Seiichi Uchida
|
b5e4c99ca7
|
Use an explicit flag to decide on whether to add brace compensation
|
2017-11-30 06:12:32 +09:00 |
|
topecongiro
|
8b53d7806c
|
Cargo fmt
|
2017-11-29 17:37:51 +09:00 |
|
topecongiro
|
35466adbfe
|
Generalize ListItems to allow a separator other than comma
|
2017-11-16 17:43:36 +09:00 |
|
topecongiro
|
f8074b340d
|
Combine fn_brace_style and item_brace_style
|
2017-11-14 10:47:02 +09:00 |
|
topecongiro
|
05798572bb
|
Remove empty lines at the beginning of the file
|
2017-11-10 17:09:31 +09:00 |
|
topecongiro
|
6ce42823cb
|
Add opt_snippet() and opt_span_after()
|
2017-11-10 17:08:57 +09:00 |
|
Seiichi Uchida
|
e079cb81ef
|
Remove 'Option<_>' from return type of 'take_while_with_pred()'
|
2017-11-09 11:33:35 +09:00 |
|
topecongiro
|
fd10925a08
|
Implement soft wrapping on doc comments
|
2017-11-08 18:24:03 +09:00 |
|
topecongiro
|
082c001843
|
Add visit_static()
|
2017-11-06 13:52:25 +09:00 |
|
topecongiro
|
3b2b7f67ee
|
Add StructParts to reduce the number of args
|
2017-11-06 13:52:25 +09:00 |
|
topecongiro
|
318f9c89e0
|
Add StaticParts to reduce the number of args in rewrite_static()
|
2017-11-06 13:52:25 +09:00 |
|
topecongiro
|
a3f286a0dc
|
Remove an unused arg from visit_fn()
|
2017-11-06 13:52:25 +09:00 |
|
topecongiro
|
c7a788084b
|
Simplify let-if pattern
|
2017-11-06 13:52:25 +09:00 |
|
topecongiro
|
314c97387d
|
Squash redundant match arms
|
2017-11-06 13:52:25 +09:00 |
|
Pascal Hertleif
|
536526685d
|
Fix compile on 2017-11-04 nightly
Breakage came from https://github.com/rust-lang/rust/pull/45247/
|
2017-11-05 12:26:06 +01:00 |
|
topecongiro
|
b17de6228f
|
Cargo fmt
|
2017-11-02 21:45:00 +09:00 |
|
Martin Lindhe
|
f930a16b8d
|
fix some typos
|
2017-11-01 07:33:55 +01:00 |
|
Nick Cameron
|
e2a5c78e4b
|
Merge pull request #2043 from sunjay/lift_generics
Lifted generics to account for changes in rust-lang/rust#44766
|
2017-10-28 18:14:13 +13:00 |
|
Nick Cameron
|
73b079d3f6
|
Merge pull request #2079 from SingingTree/issue-1979-errors-go-to-stdout
Use stderr for various errors and warnings.
|
2017-10-27 01:02:44 +05:30 |
|
Bryce Van Dyk
|
adac9fb43c
|
Use stderr for various errors and warnings.
Adjusts several error and warning report cases to output using eprintln!
instead of println! so that messages are sent to stderr.
|
2017-10-25 22:18:19 +13:00 |
|
Matthew McAllister
|
1853d02ea9
|
Handle #![rustfmt_skip] in block statements
|
2017-10-20 02:37:52 -07:00 |
|
Sunjay Varma
|
3f11c4b93a
|
Updated rustfmt to account for changes from rust-lang/rust#44766
|
2017-10-17 15:37:07 -04:00 |
|
Nick Cameron
|
802df67c2f
|
Merge pull request #2035 from topecongiro/deprecate-try_opt!
Replace `try_opt!` macro with a `?` operator
|
2017-10-05 20:45:52 +08:00 |
|
topecongiro
|
fe69dde96b
|
Replace 'try_opt!' macro with a '?' operator
|
2017-10-05 20:50:19 +09:00 |
|
Nick Cameron
|
81f0e9c94e
|
Merge pull request #2032 from topecongiro/trailing-whitespaces-in-macro-def
Remove trailing whitespaces in macro def
|
2017-10-05 19:34:12 +08:00 |
|
Nick Cameron
|
2abe119d88
|
Merge pull request #2017 from topecongiro/issue-1987
Format strings in attributes when `format_strings = true`
|
2017-10-05 17:27:17 +08:00 |
|
topecongiro
|
106625bc5c
|
Remove trailing whitespaces in macro def
|
2017-10-05 16:17:59 +09:00 |
|
topecongiro
|
74402bbdef
|
Move logic for doc comments to ast::Attribute::rewrite()
|
2017-10-01 20:24:53 +09:00 |
|
topecongiro
|
48ff9df8a4
|
Add rewrite_literal()
|
2017-10-01 19:29:23 +09:00 |
|
topecongiro
|
2e6825cc8c
|
Use FnSig in rewrite_fn() and rewrite_fn_base()
|
2017-09-29 12:49:39 +09:00 |
|