Skip to content

Commit 8eed8ed

Browse files
committed
Move log's short part to first
1 parent 36bcf40 commit 8eed8ed

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_typeck/src/check

1 file changed

+2
-2
lines changed

compiler/rustc_typeck/src/check/expr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
161161
expr: &'tcx hir::Expr<'tcx>,
162162
expected: Expectation<'tcx>,
163163
) -> Ty<'tcx> {
164-
debug!(">> type-checking: expr={:?} expected={:?}", expr, expected);
164+
debug!(">> type-checking: expected={:?}, expr={:?} ", expected, expr);
165165

166166
// True if `expr` is a `Try::from_ok(())` that is a result of desugaring a try block
167167
// without the final expr (e.g. `try { return; }`). We don't want to generate an
@@ -224,7 +224,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
224224
expr: &'tcx hir::Expr<'tcx>,
225225
expected: Expectation<'tcx>,
226226
) -> Ty<'tcx> {
227-
debug!("check_expr_kind(expr={:?}, expected={:?})", expr, expected);
227+
debug!("check_expr_kind(expected={:?}, expr={:?})", expected, expr);
228228

229229
let tcx = self.tcx;
230230
match expr.kind {

0 commit comments

Comments
 (0)