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