aboutsummaryrefslogtreecommitdiff
path: root/vendor/serde_json/tests/ui/unexpected_after_array_element.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/serde_json/tests/ui/unexpected_after_array_element.rs')
-rw-r--r--vendor/serde_json/tests/ui/unexpected_after_array_element.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/serde_json/tests/ui/unexpected_after_array_element.rs b/vendor/serde_json/tests/ui/unexpected_after_array_element.rs
new file mode 100644
index 0000000..226c58c
--- /dev/null
+++ b/vendor/serde_json/tests/ui/unexpected_after_array_element.rs
@@ -0,0 +1,5 @@
+use serde_json::json;
+
+fn main() {
+ json!([ true => ]);
+}