Special case remote = "Self"

This commit is contained in:
David Tolnay committed 2018-03-27 10:56:05 +02:00
1 parent 23e2e92237
commit 42430902e2
2 files changed
+20 -9

No files matched your search

+4
View File
@@ -385,6 +385,10 @@ fn test_gen() {
s: vis::S,
}
#[derive(Serialize, Deserialize)]
#[serde(remote = "Self")]
struct RemoteSelf;
#[derive(Serialize, Deserialize)]
enum ExternallyTaggedVariantWith {
#[allow(dead_code)]