about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-11-20 16:02:04 -0800
committerDavid Tolnay <dtolnay@gmail.com>2023-11-20 16:02:59 -0800
commitfe50c5359e863cfefe18382d7e63ba188c505f07 (patch)
tree2b86fe53d4763c254e5bd702c9175a478c2c22ca /src/doc
parent8aa4fb57f17c0769f37fc4ffdf5455e7b39f3479 (diff)
Update some more cases of "type" -> "$message_type"
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/json.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc/src/json.md b/src/doc/rustc/src/json.md
index eaace8883f2..9daa0810126 100644
--- a/src/doc/rustc/src/json.md
+++ b/src/doc/rustc/src/json.md
@@ -222,7 +222,7 @@ flag][option-emit] documentation.
 ```javascript
 {
     /* Type of this message */
-    "type": "artifact",
+    "$message_type": "artifact",
     /* The filename that was generated. */
     "artifact": "libfoo.rlib",
     /* The kind of artifact that was generated. Possible values:
@@ -246,7 +246,7 @@ information, even if the diagnostics have been suppressed (such as with an
 ```javascript
 {
     /* Type of this message */
-    "type": "future_incompat",
+    "$message_type": "future_incompat",
     /* An array of objects describing a warning that will become a hard error
        in the future.
     */