From fe50c5359e863cfefe18382d7e63ba188c505f07 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 20 Nov 2023 16:02:04 -0800 Subject: Update some more cases of "type" -> "$message_type" --- compiler/rustc_errors/src/json.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/rustc_errors/src') 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>, } -- cgit 1.4.1-3-g733a5