Skip to content

Commit 87292e3

Browse files
Noratrieblcnr
andauthored
Move comment
Co-authored-by: lcnr <[email protected]>
1 parent 1e6b435 commit 87292e3

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_typeck/src

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/cast.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@ impl<'a, 'tcx> CastCheck<'tcx> {
666666
// cannot distinguish. This would cause us to erroneously discard a cast which will
667667
// lead to a borrowck error like #113257.
668668
// We still did a coercion above to unify inference variables for `ptr as _` casts.
669-
debug!(" -> PointerCast");
670669
// This does cause us to miss some trivial casts in the trival cast lint.
670+
debug!(" -> PointerCast");
671671
} else {
672672
self.trivial_cast_lint(fcx);
673673
debug!(" -> CoercionCast");

0 commit comments

Comments
 (0)