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