From 8fb729ccda8abcc43d71eafc38ab0feccc93e886 Mon Sep 17 00:00:00 2001 From: LeSeulArtichaut Date: Tue, 10 Dec 2019 10:39:09 +0100 Subject: [PATCH] Comply to tidy checks --- src/librustc_typeck/check/op.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/librustc_typeck/check/op.rs b/src/librustc_typeck/check/op.rs index e85bf0797c8..588726016d9 100644 --- a/src/librustc_typeck/check/op.rs +++ b/src/librustc_typeck/check/op.rs @@ -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());