Skip to content

Commit cb7ad9e

Browse files
IntQuantdavidtwco
andcommitted
Slightly more concise comment
Co-authored-by: David Wood <[email protected]>
1 parent 59c5672 commit cb7ad9e

File tree

1 file changed

+1
-4
lines changed
  • compiler/rustc_infer/src/errors

1 file changed

+1
-4
lines changed

compiler/rustc_infer/src/errors/mod.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,7 @@ pub enum TraitSubdiag {
453453
Sugg { span: Span },
454454
}
455455

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.
456+
// FIXME(#100717) used in `Vec<TraitSubdiag>` so requires eager translation/list support
460457
impl AddSubdiagnostic for TraitSubdiag {
461458
fn add_to_diagnostic(self, diag: &mut rustc_errors::Diagnostic) {
462459
match self {

0 commit comments

Comments
 (0)