More manual formatting
This commit is contained in:
parent
c3eb8f2778
commit
6773e7ee56
1 changed files with 5 additions and 5 deletions
|
@ -226,12 +226,12 @@ impl<'a, 'tcx> Visitor<'tcx> for TypeChecker<'a, 'tcx> {
|
||||||
let check_equal = |this: &Self, location, f_ty| {
|
let check_equal = |this: &Self, location, f_ty| {
|
||||||
if !this.mir_assign_valid_types(ty, f_ty) {
|
if !this.mir_assign_valid_types(ty, f_ty) {
|
||||||
this.fail(
|
this.fail(
|
||||||
location,
|
location,
|
||||||
format!(
|
format!(
|
||||||
"Field projection `{:?}.{:?}` specified type `{:?}`, but actual type is `{:?}`",
|
"Field projection `{:?}.{:?}` specified type `{:?}`, but actual type is `{:?}`",
|
||||||
parent, f, ty, f_ty
|
parent, f, ty, f_ty
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue