about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
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 /compiler/rustc_errors/src/json.rs
parent8aa4fb57f17c0769f37fc4ffdf5455e7b39f3479 (diff)
downloadrust-fe50c5359e863cfefe18382d7e63ba188c505f07.tar.gz
rust-fe50c5359e863cfefe18382d7e63ba188c505f07.zip
Update some more cases of "type" -> "$message_type"
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
-rw-r--r--compiler/rustc_errors/src/json.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/json.rs b/compiler/rustc_errors/src/json.rs
index 38699c26680..aa3749334d9 100644
--- a/compiler/rustc_errors/src/json.rs
+++ b/compiler/rustc_errors/src/json.rs
@@ -317,7 +317,8 @@ struct ArtifactNotification<'a> {
 
 #[derive(Serialize)]
 struct FutureBreakageItem<'a> {
-    // Actually Diagnostic, but we want to make sure it gets serialized with `type`.
+    // Always EmitTyped::Diagnostic, but we want to make sure it gets serialized
+    // with "$message_type".
     diagnostic: EmitTyped<'a>,
 }