Commit Graph

125 Commits

Author SHA1 Message Date
topecongiro
5bd456dc3e Cargo update 2018-02-07 22:51:14 +09:00
Nick Cameron
30a28a262c Make is_mod_decl more accommodating
Fixes #2403 (I think)
2018-02-02 15:16:29 +13:00
Nick Cameron
7c3a422742 Update libsyntax crates 2018-02-02 14:18:30 +13:00
Nick Cameron
2a71bef0b0 0.3.7 2018-02-01 19:25:48 +13:00
Seiichi Uchida
5977f516b1 Cargo update 2018-01-29 21:43:44 +09:00
Seiichi Uchida
e0e3e22248 0.3.6 2018-01-18 18:56:46 +09:00
Seiichi Uchida
fa782303a6 0.3.5 2018-01-15 21:34:41 +09:00
Nick Cameron
3e29fe3330 Use published versions of libsyntax and librustc_errors
Rather than the versions shipping with the compiler. These are still unstable,
so nightly is still required, but we can control when we update so breakage should
happen less often.
2018-01-11 18:21:35 +13:00
David Alber
85ccb98469 Adding test to verify code block idempotency in Configurations.md 2018-01-04 00:01:18 -08:00
Marcus Klaas
656edbf0f0 Use std time 2017-12-27 16:34:09 +13:00
Marcus Klaas
dc356ffef7 Add rudimentary timing of parsing and formatting phases 2017-12-27 16:33:21 +13:00
Seiichi Uchida
6714a447d0 0.3.4 2017-12-23 12:25:42 +09:00
Nick Cameron
c537f2de11 0.3.3 2017-12-22 16:14:05 +13:00
topecongiro
c0701f5fa5 0.3.2 2017-12-15 10:39:33 +09:00
Seiichi Uchida
6ce082e3f1 0.3.1 2017-12-11 22:09:48 +09:00
Seiichi Uchida
414a995926 Replace StringBuffer with String 2017-12-11 09:19:00 +09:00
Nick Cameron
3f7a27b547 0.3.0 2017-12-11 09:35:30 +13:00
Nick Cameron
632ea1afdf 0.2.17 2017-12-03 13:39:20 +13:00
Seiichi Uchida
426ba1cdab Cargo update 2017-11-28 17:35:52 +09:00
topecongiro
1b1122654f Add cargo_metadata to dependency 2017-11-27 18:37:21 +09:00
Nick Cameron
d0f12b8ec8 Remove unused option take_source_hints 2017-11-24 13:08:02 +13:00
Nick Cameron
1952459278 0.2.16 2017-11-21 09:43:33 +13:00
Utkarsh Kukreti
02c024932c Fix missing trailing newline in --write-mode=diff.
This was a bug in the `diff` crate which has been fixed in 0.1.11. This PR
simply bumps `diff` to that version.

Fixes #1753.

    $ xxd main.rs
    00000000: 666e 206d 6169 6e28 2920 7b7d            fn main() {}
    $ cargo run --bin rustfmt -- main.rs --write-mode=diff
    $ echo $?
    0
    $ git checkout issue-1753
    Switched to branch 'issue-1753'
    $ cargo run --bin rustfmt -- main.rs --write-mode=diff
    Diff in /Users/utkarsh/dev/git/rustfmt/main.rs at line 1:
     fn main() {}⏎
    +⏎
    $ echo $?
    4
2017-11-17 08:50:00 +05:30
Nick Cameron
4d2ed86611 nightly-0.2.15 2017-11-08 08:07:31 +13:00
topecongiro
1cd26db8c4 Add derive-new to dependencies 2017-11-06 21:43:17 +09:00
topecongiro
51b03c3aaf nightly-0.2.14 2017-11-06 00:55:10 +09:00
topecongiro
0509f337cb Cargo update 2017-11-06 00:55:04 +09:00
Nick Cameron
c6d4351f1c nightly-0.2.13 2017-10-30 07:42:45 +13:00
topecongiro
485ef93e49 nightly-0.2.12 2017-10-29 00:23:02 +09:00
topecongiro
ee490aea00 nightly-0.2.11 2017-10-28 18:53:39 +09:00
Nick Cameron
b22643a572 0.2.10 + cargo update 2017-10-28 18:45:56 +13:00
Nick Cameron
5233f9cde0 Add support for crate shorthand for pub(crate) 2017-10-28 18:41:58 +13:00
Seiichi Uchida
40e6c26b8b nightly-0.2.9 2017-10-16 12:24:18 +09:00
Seiichi Uchida
474c1935d6 Cargo update 2017-10-16 12:24:15 +09:00
topecongiro
45146e16ee nightly-0.2.8 2017-09-28 18:11:23 +09:00
topecongiro
bfac2755d4 Cargo update 2017-09-28 18:11:18 +09:00
Nick Cameron
02d8067f14 nightly-0.2.7 2017-09-21 10:50:45 +12:00
topecongiro
ed2687f33b Cargo update 2017-09-15 17:05:27 +09:00
Nick Cameron
7e309a4ad8 nightly-0.2.6 2017-09-14 16:06:36 +12:00
Nick Cameron
8122f0b083 nightly-0.2.5
And cargo update
2017-08-31 14:32:54 +12:00
Nick Cameron
e780532239 nightly-0.2.4 2017-08-30 13:56:08 +12:00
Nick Cameron
897b224b54 nightly-0.2.3 2017-08-30 12:26:27 +12:00
Seiichi Uchida
98f737c708 Cargo update 2017-08-28 23:39:56 +09:00
Nick Cameron
bc9c65a2ac 0.2.2 2017-08-22 13:09:13 +12:00
topecongiro
a763f3b75b Cargo update 2017-08-11 17:54:54 +09:00
Nick Cameron
cb351440e9 cargo update 2017-07-25 15:57:56 +12:00
Nick Cameron
6984c05e69 Change the writemode to overwrite 2017-07-21 11:22:51 +12:00
Nick Cameron
ed90489871 cargo update 2017-07-10 16:18:41 +12:00
Nick Cameron
818ff7a602 nightly-0.1.8 2017-07-05 15:59:24 +12:00
Nick Cameron
f028cbe760 nightly-0.1.7 2017-06-23 17:03:47 +12:00