remove old code

This commit is contained in:
Christian Poveda 2022-04-25 23:26:52 +02:00
parent 5874b09806
commit 530f4dce29
No known key found for this signature in database
GPG Key ID: 27525EF5E7420A50

View File

@ -1185,15 +1185,6 @@ struct AmbiguousPlus {
sum_with_parens: format!("({})", pprust::ty_to_string(&ty)),
span: ty.span,
});
// let sum_with_parens = format!("({})", pprust::ty_to_string(&ty));
// self.struct_span_err(ty.span, "ambiguous `+` in a type")
// .span_suggestion(
// ty.span,
// "use parentheses to disambiguate",
// sum_with_parens,
// Applicability::MachineApplicable,
// )
// .emit();
}
}