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