Comply to tidy checks
This commit is contained in:
parent
29e5f8e9bc
commit
8fb729ccda
@ -375,7 +375,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
||||
(format!("no implementation for `{} << {}", lhs_ty, rhs_ty),
|
||||
Some("std::ops::Shr"))
|
||||
},
|
||||
_ => (format!("binary operation `{}` cannot be applied to type `{}`", op.node.as_str(), lhs_ty), None)
|
||||
_ => (format!(
|
||||
"binary operation `{}` cannot be applied to type `{}`",
|
||||
op.node.as_str(), lhs_ty),
|
||||
None)
|
||||
};
|
||||
let mut err = struct_span_err!(self.tcx.sess, op.span, E0369,
|
||||
"{}", message.as_str());
|
||||
|
Loading…
Reference in New Issue
Block a user