Skip to content

Commit 8fb729c

Browse files
Comply to tidy checks
1 parent 29e5f8e commit 8fb729c

File tree

1 file changed

+4
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+4
-1
lines changed

src/librustc_typeck/check/op.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
375375
(format!("no implementation for `{} << {}", lhs_ty, rhs_ty),
376376
Some("std::ops::Shr"))
377377
},
378-
_ => (format!("binary operation `{}` cannot be applied to type `{}`", op.node.as_str(), lhs_ty), None)
378+
_ => (format!(
379+
"binary operation `{}` cannot be applied to type `{}`",
380+
op.node.as_str(), lhs_ty),
381+
None)
379382
};
380383
let mut err = struct_span_err!(self.tcx.sess, op.span, E0369,
381384
"{}", message.as_str());

0 commit comments

Comments
 (0)