remove old code
This commit is contained in:
parent
5874b09806
commit
530f4dce29
1 changed files with 0 additions and 9 deletions
|
@ -1185,15 +1185,6 @@ impl<'a> Parser<'a> {
|
||||||
sum_with_parens: format!("({})", pprust::ty_to_string(&ty)),
|
sum_with_parens: format!("({})", pprust::ty_to_string(&ty)),
|
||||||
span: ty.span,
|
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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue