Skip to content

Commit 530f4dc

Browse files
committed
remove old code
1 parent 5874b09 commit 530f4dc

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

compiler/rustc_parse/src/parser/diagnostics.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,15 +1185,6 @@ impl<'a> Parser<'a> {
11851185
sum_with_parens: format!("({})", pprust::ty_to_string(&ty)),
11861186
span: ty.span,
11871187
});
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();
11971188
}
11981189
}
11991190

0 commit comments

Comments
 (0)