diff --git a/compiler/rustc_error_messages/src/lib.rs b/compiler/rustc_error_messages/src/lib.rs index 4a83a84a83d..ceead29f51a 100644 --- a/compiler/rustc_error_messages/src/lib.rs +++ b/compiler/rustc_error_messages/src/lib.rs @@ -193,7 +193,11 @@ pub enum DiagnosticMessage { /// Non-translatable diagnostic message. // FIXME(davidtwco): can a `Cow<'static, str>` be used here? Str(String), - /// Identifier for a Fluent message corresponding to the diagnostic message. + /// Identifier for a Fluent message (with optional attribute) corresponding to the diagnostic + /// message. + /// + /// + /// FluentIdentifier(FluentId, Option), }