fix comment
This commit is contained in:
parent
cc82ccb145
commit
c0d3d32922
1 changed files with 2 additions and 1 deletions
|
@ -1764,7 +1764,8 @@ impl<'tcx> InferCtxtPrivExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
|
||||||
// constrain inference variables a bit more to nested obligations from normalize so
|
// constrain inference variables a bit more to nested obligations from normalize so
|
||||||
// we can have more helpful errors.
|
// we can have more helpful errors.
|
||||||
//
|
//
|
||||||
// we intentionally errors from normalization here.
|
// we intentionally drop errors from normalization here,
|
||||||
|
// since the normalization is just done to improve the error message.
|
||||||
let _ = ocx.select_where_possible();
|
let _ = ocx.select_where_possible();
|
||||||
|
|
||||||
if let Err(new_err) = ocx.eq_exp(
|
if let Err(new_err) = ocx.eq_exp(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue