Skip to content

Commit fa78745

Browse files
committed
pacify the mercilous tidy: user-ty on rvalue assignments
1 parent 6f73127 commit fa78745

File tree

1 file changed

+5
-1
lines changed
  • src/librustc_mir/borrow_check/nll/type_check

1 file changed

+5
-1
lines changed

src/librustc_mir/borrow_check/nll/type_check/mod.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,11 @@ impl<'a, 'gcx, 'tcx> TypeChecker<'a, 'gcx, 'tcx> {
919919
}
920920

921921
if let Some(user_ty) = self.rvalue_user_ty(rv) {
922-
if let Err(terr) = self.eq_canonical_type_and_type(user_ty, rv_ty, location.boring()) {
922+
if let Err(terr) = self.eq_canonical_type_and_type(
923+
user_ty,
924+
rv_ty,
925+
location.boring(),
926+
) {
923927
span_mirbug!(
924928
self,
925929
stmt,

0 commit comments

Comments
 (0)