Skip to content

Commit 6773e7e

Browse files
committed
More manual formatting
1 parent c3eb8f2 commit 6773e7e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

compiler/rustc_const_eval/src/transform/validate.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ impl<'a, 'tcx> Visitor<'tcx> for TypeChecker<'a, 'tcx> {
226226
let check_equal = |this: &Self, location, f_ty| {
227227
if !this.mir_assign_valid_types(ty, f_ty) {
228228
this.fail(
229-
location,
230-
format!(
231-
"Field projection `{:?}.{:?}` specified type `{:?}`, but actual type is `{:?}`",
232-
parent, f, ty, f_ty
229+
location,
230+
format!(
231+
"Field projection `{:?}.{:?}` specified type `{:?}`, but actual type is `{:?}`",
232+
parent, f, ty, f_ty
233+
)
233234
)
234-
)
235235
}
236236
};
237237

0 commit comments

Comments
 (0)