We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5874b09 commit 530f4dcCopy full SHA for 530f4dc
compiler/rustc_parse/src/parser/diagnostics.rs
@@ -1185,15 +1185,6 @@ impl<'a> Parser<'a> {
1185
sum_with_parens: format!("({})", pprust::ty_to_string(&ty)),
1186
span: ty.span,
1187
});
1188
- // let sum_with_parens = format!("({})", pprust::ty_to_string(&ty));
1189
- // self.struct_span_err(ty.span, "ambiguous `+` in a type")
1190
- // .span_suggestion(
1191
- // ty.span,
1192
- // "use parentheses to disambiguate",
1193
- // sum_with_parens,
1194
- // Applicability::MachineApplicable,
1195
- // )
1196
- // .emit();
1197
}
1198
1199
0 commit comments