pacify the mercilous tidy: user-ty on rvalue assignments
This commit is contained in:
parent
6f73127458
commit
fa787454c5
1 changed files with 5 additions and 1 deletions
|
|
@ -919,7 +919,11 @@ impl<'a, 'gcx, 'tcx> TypeChecker<'a, 'gcx, 'tcx> {
|
|||
}
|
||||
|
||||
if let Some(user_ty) = self.rvalue_user_ty(rv) {
|
||||
if let Err(terr) = self.eq_canonical_type_and_type(user_ty, rv_ty, location.boring()) {
|
||||
if let Err(terr) = self.eq_canonical_type_and_type(
|
||||
user_ty,
|
||||
rv_ty,
|
||||
location.boring(),
|
||||
) {
|
||||
span_mirbug!(
|
||||
self,
|
||||
stmt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue