David Tolnay
|
a58abae193
|
Test Weak serialize impls
|
2018-05-07 11:23:17 -07:00 |
|
David Tolnay
|
eecc0870fc
|
Test for pub(restricted)
|
2018-05-06 23:22:27 -07:00 |
|
David Tolnay
|
3cd9d071c2
|
Fix adjacently tagged empty tuple variant or struct variant
|
2018-05-06 21:50:40 -07:00 |
|
David Tolnay
|
972cc06fed
|
Format the flatten tests using rustfmt 0.6.1
|
2018-05-06 21:38:41 -07:00 |
|
David Tolnay
|
2009b4da5f
|
Remove old flatten in enum compile-fail test
|
2018-05-06 21:26:40 -07:00 |
|
David Tolnay
|
0b72c86a35
|
Add tests for flatten in enums
|
2018-05-06 21:23:20 -07:00 |
|
David Tolnay
|
d8120e19bc
|
Support deserializing a flattened internally tagged enum
|
2018-05-05 21:52:16 -07:00 |
|
David Tolnay
|
97eff8e875
|
Format with rustfmt 0.6.1
|
2018-05-05 00:56:12 -07:00 |
|
David Tolnay
|
b78f434086
|
Pretend remote derives are not dead code
|
2018-05-02 14:23:59 -07:00 |
|
David Tolnay
|
cb2b92f828
|
Handle flatten + deserialize_with
|
2018-05-01 22:25:06 -07:00 |
|
David Tolnay
|
d82d1707d6
|
Format with rustfmt 0.6.0
|
2018-04-30 01:42:46 -07:00 |
|
David Tolnay
|
bceda5fb18
|
Unpack a layer of NewtypeStruct when content is newtype
|
2018-04-23 11:04:42 -07:00 |
|
David Tolnay
|
3c4961c48e
|
Lenient byte and string deserialization from buffered content
|
2018-04-19 10:21:55 -07:00 |
|
David Tolnay
|
202c10147e
|
Fix deserialize_with on a struct variant with one field
|
2018-04-12 23:44:53 -07:00 |
|
Osspial
|
4415d10c61
|
Fix associated types only working for first generic parameter
Also, removes extraneous `where for`
|
2018-04-12 16:44:34 -04:00 |
|
Osspial
|
def8d6e8af
|
Add associated type test
|
2018-04-10 11:16:32 -04:00 |
|
David Tolnay
|
5efb22ebee
|
Format no_std test code with rustfmt 0.4.1
|
2018-04-07 19:22:24 -07:00 |
|
David Tolnay
|
3e535325e1
|
Remove unused compiler_builtins_lib feature
|
2018-04-07 19:20:55 -07:00 |
|
David Tolnay
|
5653e5b15c
|
Remove eh_unwind_resume lang item
It appears this is no longer needed.
|
2018-04-07 19:20:07 -07:00 |
|
David Tolnay
|
8d85860064
|
Remove no longer needed compiler_builtins
The `compiler_builtins` crate is now automatically injected whenever the
`core` crate is injected.
|
2018-04-07 19:18:38 -07:00 |
|
David Tolnay
|
860241aa88
|
Merge pull request #1205 from mitsuhiko/bugfix/tuple-struct-flatten
Produce error message for use of flatten in tuple structs
|
2018-04-02 07:09:39 +02:00 |
|
Armin Ronacher
|
77376f39ea
|
Produce error message for use of flatten in tuple structs
|
2018-04-01 22:11:21 +02:00 |
|
Armin Ronacher
|
302fac91a3
|
Produce error message for use of flatten within struct variant
|
2018-04-01 22:01:24 +02:00 |
|
David Tolnay
|
801fd1dc19
|
Drop the patch dependencies
|
2018-03-31 23:09:01 +02:00 |
|
Alex Crichton
|
b1c1d964e1
|
Update to syn/quote/proc-macro2 new apis
|
2018-03-29 00:54:05 -07:00 |
|
David Tolnay
|
42430902e2
|
Special case remote = "Self"
|
2018-03-27 10:56:05 +02:00 |
|
David Tolnay
|
5c9c97c0ce
|
Remove test that fails to parse flatten attribute
|
2018-03-25 12:33:50 +02:00 |
|
Armin Ronacher
|
3d647f4063
|
Fixed a compilefail test for flatten on enums
|
2018-03-20 23:26:22 +01:00 |
|
Armin Ronacher
|
27f935f036
|
Correctly serialize newtype variants for flatten
|
2018-03-20 23:05:05 +01:00 |
|
Armin Ronacher
|
99614c7266
|
Added flatten on enum compile fail test
|
2018-03-20 22:15:47 +01:00 |
|
Armin Ronacher
|
bb2ecb3bc4
|
Added compilefail tests for flatten conflicts
|
2018-03-20 22:04:12 +01:00 |
|
Armin Ronacher
|
e4ef087735
|
Added support for borrowing when flattening
|
2018-03-20 15:19:36 +01:00 |
|
Armin Ronacher
|
8637dda60f
|
Refactored a test
|
2018-03-20 13:38:08 +01:00 |
|
Armin Ronacher
|
f02dbf381b
|
Added non string key support for flattening
|
2018-03-19 00:57:58 +01:00 |
|
Armin Ronacher
|
7cf184624a
|
Use more consistent error messages for bad flattening
|
2018-03-18 23:46:28 +01:00 |
|
Armin Ronacher
|
c5a3128492
|
Added a more complex flattening test
|
2018-03-18 23:01:13 +01:00 |
|
Armin Ronacher
|
58d52e784b
|
Remove #[serde(repr = "map")]
|
2018-03-18 18:30:46 +01:00 |
|
Armin Ronacher
|
61b167be9a
|
Attempted support for in_place deserialization for structs as map
|
2018-03-18 18:22:06 +01:00 |
|
Armin Ronacher
|
f1af2dc5ab
|
Added support for newtype variant serialization
|
2018-03-18 13:10:54 +01:00 |
|
Armin Ronacher
|
ebc61baab2
|
Added newtype struct support for flattening
|
2018-03-18 13:02:00 +01:00 |
|
Armin Ronacher
|
ffcde25b6e
|
Fixed some clippy warnings
|
2018-03-17 00:49:00 +01:00 |
|
Armin Ronacher
|
b8602a7e43
|
Added test for tag/content enum flattening
|
2018-03-16 23:05:48 +01:00 |
|
Armin Ronacher
|
a8c8c2028e
|
Added support for struct variant enum serialization
|
2018-03-16 23:05:48 +01:00 |
|
Armin Ronacher
|
b4ef7ac323
|
Updated tests for flatten
|
2018-03-16 23:05:48 +01:00 |
|
Armin Ronacher
|
583c0d8d14
|
Make proc-macro2/nightly happy
|
2018-03-16 23:05:22 +01:00 |
|
Armin Ronacher
|
77b07f3fbf
|
Added tests for unknown_fields_into
|
2018-03-16 23:05:22 +01:00 |
|
David Tolnay
|
72ecb9064c
|
Fix parsing of qself in paths in attributes
|
2018-03-15 10:02:40 -07:00 |
|
David Tolnay
|
30361ac6d0
|
Clean up workaround that required too many parentheses
The issue has been fixed in the compiler and these extra call site parentheses
are no longer required.
|
2018-03-09 00:22:27 -08:00 |
|
David Tolnay
|
f288a41768
|
Test the new errors on conflicting enum tags
|
2018-03-08 09:31:25 -08:00 |
|
David Tolnay
|
d6f07f2f47
|
Ignore redundant_field_names lint
|
2018-02-27 11:13:26 -08:00 |
|