We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59c5672 commit cb7ad9eCopy full SHA for cb7ad9e
compiler/rustc_infer/src/errors/mod.rs
@@ -453,10 +453,7 @@ pub enum TraitSubdiag {
453
Sugg { span: Span },
454
}
455
456
-// FIXME We can't rely on Vec<Subdiag> working well at the moment,
457
-// as only the args from one of the subdiagnostics will actually be used.
458
-// This results in an incorrect diagnostic if more than two subdiags with the same slug are added.
459
-// Use untranslated messages for now.
+// FIXME(#100717) used in `Vec<TraitSubdiag>` so requires eager translation/list support
460
impl AddSubdiagnostic for TraitSubdiag {
461
fn add_to_diagnostic(self, diag: &mut rustc_errors::Diagnostic) {
462
match self {
0 commit comments