David Tolnay
|
ba23fd18e1
|
Move Copy impls into code generator
|
2020-08-17 20:54:43 -07:00 |
|
David Tolnay
|
d4dd462fb3
|
Update codegen for LitBool impls
|
2020-08-17 19:52:52 -07:00 |
|
David Tolnay
|
a674dd0a4e
|
Merge pull request #885 from dtolnay/gen
Generate extra-traits impls without derive
|
2020-08-17 00:53:58 -07:00 |
|
David Tolnay
|
36ddd9aa54
|
Resolve clippy lints in syn-internal-codegen
|
2020-08-17 00:22:32 -07:00 |
|
David Tolnay
|
148dd04c4f
|
Resolve clippy lints in generated Clone impls
|
2020-08-17 00:18:48 -07:00 |
|
David Tolnay
|
ad60148cb9
|
Pre-expand Clone derives
|
2020-08-16 23:55:49 -07:00 |
|
David Tolnay
|
b5127106b1
|
Remove #manual_extra_traits marker
|
2020-08-16 23:37:36 -07:00 |
|
David Tolnay
|
ac1124b354
|
Pre-expand Hash derives
|
2020-08-16 23:31:59 -07:00 |
|
David Tolnay
|
f89b47203d
|
Pre-expand Eq/PartialEq derives
|
2020-08-16 22:53:51 -07:00 |
|
David Tolnay
|
9406d59a18
|
Pre-expand Debug derives for syntax tree
|
2020-08-16 22:51:02 -07:00 |
|
David Tolnay
|
4c45b2d4b2
|
Drop clone-impls dependency from code generator
This will unblock pre-expanding those Clone impls from the code
generator, rather that relying on derive which takes longer to compile.
|
2020-08-16 22:49:14 -07:00 |
|
David Tolnay
|
42fc98067f
|
Better use of imports in codegen's parser
|
2020-08-16 22:33:27 -07:00 |
|
David Tolnay
|
a3961cb972
|
Factor out codegen node lookup for reuse
|
2020-08-16 20:59:57 -07:00 |
|
David Tolnay
|
cbe7503b97
|
Apply format_ident macro in syn codegen
|
2020-08-16 20:30:13 -07:00 |
|
David Tolnay
|
10d86c4eba
|
Factor out features-to-cfg conversion for reuse
|
2020-08-16 20:02:07 -07:00 |
|
David Tolnay
|
ba481824d4
|
Drop unused extra-traits dependency from syn-internal-codegen
|
2020-08-16 16:24:18 -07:00 |
|
David Tolnay
|
56e3b0b902
|
Rename snapshot-specific Debug impl generator
|
2020-08-16 15:39:24 -07:00 |
|
David Tolnay
|
252c00fd54
|
Add rust-codegen configuration for codegen dir
|
2020-08-12 18:05:13 -07:00 |
|
David Tolnay
|
0af800cecb
|
Quote no longer requires recursion
|
2020-07-16 10:54:25 -07:00 |
|
David Tolnay
|
46a183d334
|
Resolve match_wildcard_for_single_variants pedantic lints
|
2020-05-29 19:13:16 -07:00 |
|
David Tolnay
|
66116435ca
|
Update rustc used for codegen build
|
2020-05-26 15:56:55 -07:00 |
|
David Tolnay
|
535bed0e57
|
Collapse Verbatim representation in snapshot tests
|
2020-05-26 15:42:39 -07:00 |
|
Teymour Aldridge
|
409a4aebfa
|
Update doc comments about availability.
|
2020-05-16 11:26:35 +01:00 |
|
David Tolnay
|
575dc3cbe9
|
Pin codegen build to a nightly and rustfmt that work together
|
2020-03-27 09:04:15 -07:00 |
|
David Tolnay
|
7bf0d93d23
|
Fix missing macro in no-default-features codegen
|
2020-03-13 00:14:44 -07:00 |
|
David Tolnay
|
e45b2296e3
|
Update rustfmt dependency to rustfmt_lib
https://github.com/rust-lang/rustfmt/pull/3998
|
2020-01-05 00:08:56 -08:00 |
|
David Tolnay
|
62373b0692
|
Rephrase todo comment in codegen parser
|
2019-12-04 14:47:46 -08:00 |
|
David Tolnay
|
ead4a068d7
|
Unfork rustfmt now that error PR has been accepted
|
2019-12-04 01:26:12 -08:00 |
|
David Tolnay
|
5a990fbb13
|
Use convenient std::fs functions
|
2019-11-30 15:01:52 -08:00 |
|
David Tolnay
|
3512e132ea
|
Parse manual_extra_traits on ast_enum in code generator
|
2019-11-30 15:00:24 -08:00 |
|
David Tolnay
|
87e995d296
|
Print line/column for codegen parse errors
|
2019-11-30 14:55:25 -08:00 |
|
David Tolnay
|
2e16ee37a3
|
Print file path of codegen parse errors
|
2019-11-30 14:45:24 -08:00 |
|
David Tolnay
|
4041dbe76c
|
Remove unneeded main wrapper
|
2019-11-30 14:30:53 -08:00 |
|
David Tolnay
|
7819f9fc5c
|
Switch codegen error handling to anyhow
|
2019-11-30 14:28:19 -08:00 |
|
David Tolnay
|
6443a0a676
|
Update crossbeam build failure workaround
|
2019-11-30 13:50:46 -08:00 |
|
David Tolnay
|
f963b7d5c9
|
Work around target_has_atomic = "cas" failure
|
2019-10-26 18:13:49 -07:00 |
|
David Tolnay
|
5a06e7beac
|
Release 1.0.0
|
2019-08-13 09:06:54 -07:00 |
|
David Tolnay
|
a519f7a1fa
|
Recognize manual_extra_traits_debug in codegen
|
2019-08-11 12:24:04 -07:00 |
|
David Tolnay
|
8c79756457
|
Improve readability of generated signatures
|
2019-08-11 09:25:50 -07:00 |
|
David Tolnay
|
d95097703f
|
Update to proc-macro2 rc3
|
2019-08-10 22:24:23 -07:00 |
|
David Tolnay
|
3ba76cd686
|
Update to quote rc3
|
2019-08-10 20:38:16 -07:00 |
|
David Tolnay
|
63cddc5277
|
Sort terminal types in codegen'd traits
|
2019-08-10 19:42:38 -07:00 |
|
David Tolnay
|
5d94c388c0
|
Visit ident's span in visit
|
2019-08-10 18:38:55 -07:00 |
|
David Tolnay
|
72e4db493b
|
Visit ident's span in visit_mut
|
2019-08-10 18:31:27 -07:00 |
|
David Tolnay
|
b26ec87839
|
Visit punctuated spans in visit_mut
|
2019-08-10 18:31:24 -07:00 |
|
David Tolnay
|
d81f91f5bd
|
Visit punctuated spans in visit
|
2019-08-10 18:22:28 -07:00 |
|
David Tolnay
|
ceef429b69
|
Sort codegen dependencies
|
2019-08-10 13:58:30 -07:00 |
|
David Tolnay
|
5a619b16e4
|
Update to quote 1.0.0-rc2
|
2019-08-10 12:48:45 -07:00 |
|
David Tolnay
|
0dc84492d9
|
Eliminate ref keyword from generated code
|
2019-08-03 16:03:50 -07:00 |
|
David Tolnay
|
01a7ca0cea
|
Add nonexhaustive variants
|
2019-08-03 15:38:49 -07:00 |
|