diff --git a/src/librustc_typeck/check/op.rs b/src/librustc_typeck/check/op.rs index 588726016d9..2e56048fc0e 100644 --- a/src/librustc_typeck/check/op.rs +++ b/src/librustc_typeck/check/op.rs @@ -372,7 +372,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { Some("std::ops::Shl")) }, hir::BinOpKind::Shr => { - (format!("no implementation for `{} << {}", lhs_ty, rhs_ty), + (format!("no implementation for `{} >> {}", lhs_ty, rhs_ty), Some("std::ops::Shr")) }, _ => (format!(