aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/missing_value.rs
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:02:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:02:34 +0000
commit4f2209441bb12841e86ea6e03c3485d350af152a (patch)
tree58f7f050cf3633807c295fb927d3752b7b5a1a0d /tests/ui/missing_value.rs
parent02c40db88ab3665f9039228409d8cb38fe3d92c8 (diff)
parenta69aad5c40038729e172d571c62881b9366382c7 (diff)
downloadserde_json-4f2209441bb12841e86ea6e03c3485d350af152a.tar.gz
Change-Id: I63310326f4d15a061c72cdacb6fea5c7a792d606
Diffstat (limited to 'tests/ui/missing_value.rs')
-rw-r--r--tests/ui/missing_value.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/missing_value.rs b/tests/ui/missing_value.rs
new file mode 100644
index 0000000..0ba14e2
--- /dev/null
+++ b/tests/ui/missing_value.rs
@@ -0,0 +1,5 @@
+use serde_json::json;
+
+fn main() {
+ json!({ "a" : });
+}