Skip to content

Commit c0d3d32

Browse files
committed
fix comment
1 parent cc82ccb commit c0d3d32

File tree

1 file changed

+2
-1
lines changed
  • compiler/rustc_trait_selection/src/traits/error_reporting

1 file changed

+2
-1
lines changed

compiler/rustc_trait_selection/src/traits/error_reporting/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,8 @@ impl<'tcx> InferCtxtPrivExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
17641764
// constrain inference variables a bit more to nested obligations from normalize so
17651765
// we can have more helpful errors.
17661766
//
1767-
// we intentionally errors from normalization here.
1767+
// we intentionally drop errors from normalization here,
1768+
// since the normalization is just done to improve the error message.
17681769
let _ = ocx.select_where_possible();
17691770

17701771
if let Err(new_err) = ocx.eq_exp(

0 commit comments

Comments
 (0)