Commit Graph

550 Commits

Author SHA1 Message Date
David Tolnay
3dfd33a2a7
Test arrays containing non-Copy element too 2021-04-02 00:23:08 -04:00
David Tolnay
18c09dfbba
Add test of big array repetition 2021-04-02 00:23:01 -04:00
David Tolnay
b4b1087d5c
Merge pull request #180 from dtolnay/fmt
Format macro rules in consistent style
2021-04-01 19:44:37 -04:00
David Tolnay
8788e2799f
Format macro rules in consistent style 2021-04-01 18:20:16 -04:00
David Tolnay
4210276da5
Suppress false positive wrong_self_convention clippy lint
https://github.com/rust-lang/rust-clippy/issues/6983

    warning: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value
      --> src/to_tokens.rs:80:18
       |
    80 |     fn to_tokens(&self, tokens: &mut TokenStream) {
       |                  ^^^^^
       |
       = note: `#[warn(clippy::wrong_self_convention)]` on by default
       = help: consider choosing a less ambiguous name
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
2021-03-26 23:00:23 -04:00
David Tolnay
68ebadbc1b
Release 1.0.9 2021-02-11 22:49:45 -08:00
David Tolnay
0de9cd535f
Revert "Adds an unsafe_code linting rule"
This reverts commit 6d65b99550.
2021-02-11 22:48:20 -08:00
David Tolnay
0669697918
Ignore new missing_panics_doc pedantic clippy lint 2021-02-03 20:13:58 -08:00
David Tolnay
b84254f700
Update ui test suite to nightly-2021-01-29 2021-01-28 18:37:08 -08:00
David Tolnay
290262885a
Fix catching clippy warnings as CI failures 2021-01-04 23:49:11 -08:00
David Tolnay
4a597c9c83
Opt in to pedantic clippy lints 2020-12-29 17:20:34 -08:00
David Tolnay
afe32c443c
Inform clippy of supported compiler version in clippy.toml 2020-12-29 17:19:30 -08:00
David Tolnay
15791062d8
Run clippy linter in CI 2020-12-29 17:19:01 -08:00
David Tolnay
8294929b39
Release 1.0.8 2020-12-20 13:38:25 -08:00
David Tolnay
df96ce81d6
Merge pull request #175 from dtolnay/ident
Include failed raw identifier in panic message
2020-12-20 13:36:16 -08:00
David Tolnay
6a67750687
Include failed raw identifier in panic message 2020-12-20 13:29:21 -08:00
David Tolnay
9e9cae1576
Update ui tests to nightly-2020-09-05 2020-09-04 23:26:16 -07:00
David Tolnay
cd2ab06673
Change not-repeatable test to work whether or not rust-src is installed 2020-09-04 16:58:58 -07:00
David Tolnay
175778d968
Update tests with proc-macro2 1.0.20's formatting 2020-09-04 16:56:44 -07:00
David Tolnay
306375a5e7
Merge pull request #164 from tkondrashov/patch-1
fix small typo
2020-08-02 03:22:04 -07:00
Sasha Kondrashov
79475fc57f
Update lib.rs 2020-08-02 04:37:12 -04:00
David Tolnay
f3b0627b62
Quote in benchmark no longer requires high recursion 2020-07-16 12:07:20 -07:00
David Tolnay
9b14113369
Update ui tests to nightly-2020-07-06 2020-07-06 19:20:28 -07:00
David Tolnay
9ccd8089c2
Add a sponsors link 2020-06-09 20:53:09 -07:00
David Tolnay
9de44cd86e
Release 1.0.7 2020-06-07 11:09:12 -07:00
David Tolnay
c00eda5d49
Add quote_spanned smoke test to test suite 2020-06-07 11:07:02 -07:00
David Tolnay
2f191555c9
Add rt function for pushing group 2020-06-07 11:04:06 -07:00
David Tolnay
2ab07d2b8d
Rustfmt does not like blank lines between inner attrs 2020-06-07 11:04:06 -07:00
David Tolnay
acb1c1b3f6
Generate more concise code for empty quote 2020-06-07 10:53:57 -07:00
David Tolnay
e50913ee82
Merge pull request #159 from dtolnay/nospan
Fast path for quote with default span
2020-06-07 10:52:26 -07:00
David Tolnay
c1557b179c
Fast path for quote with default span 2020-06-07 10:34:34 -07:00
David Tolnay
2b24cb1cbf
Update test suite with proc-macro2 1.0.18 2020-05-31 19:02:23 -07:00
David Tolnay
d67d687aeb
Release 1.0.6 2020-05-17 13:13:51 -07:00
David Tolnay
d5069f4b51
Touch up PR 158 2020-05-17 13:13:12 -07:00
David Tolnay
ad3d837c25
Merge pull request #158 from randomPoison/master
Implement IdentFragment for Cow<T>
2020-05-17 13:13:04 -07:00
David LeGare
a9a8656b72 Add test for using Cow with format_ident! 2020-05-17 14:59:43 -05:00
David LeGare
cabde2adf3 Implement IdentFragment for Cow<T> 2020-05-17 14:52:20 -05:00
David Tolnay
a429f64194
Merge pull request 157 from vorner/readme-non-macro 2020-05-16 00:39:42 -07:00
Michal 'vorner' Vaner
dcee953c63
Further little alert about non-macro generation 2020-05-14 16:56:45 +02:00
David Tolnay
7c8e842521
Merge pull request #156 from dtolnay/readme
Add tip about rustfmt for non-macro code generators
2020-05-13 23:15:20 -07:00
David Tolnay
b5d92a4511
Add tip about rustfmt for non-macro code generators 2020-05-13 22:44:00 -07:00
David Tolnay
68ff242bf2
Organize readme a bit 2020-05-13 22:30:13 -07:00
David Tolnay
b4f1671357
Release 1.0.5 2020-05-12 23:02:25 -07:00
David Tolnay
3f8d354dbf
Add crosslink icons to readme and rustdoc 2020-05-12 23:01:58 -07:00
David Tolnay
0d5e151ade
Update build status badge to GitHub Actions 2020-05-06 00:11:22 -07:00
David Tolnay
a4b9b850d8
Remove Travis configuration 2020-05-05 11:31:00 -07:00
David Tolnay
eef8eeb2f7
Merge pull request #152 from dtolnay/actions
Enable GitHub Actions
2020-05-02 15:09:06 -07:00
David Tolnay
9c4b098188
Enable GitHub Actions 2020-05-02 15:02:35 -07:00
David Tolnay
382ddcf4d5
Remove CI badge from Cargo.toml
Support for badges has been deprecated by crates.io.
2020-05-01 21:04:36 -07:00
David Tolnay
cc50e29dad
Release 1.0.4 2020-04-30 12:17:12 -07:00