about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeSeulArtichaut <leseulartichaut@gmail.com>2019-12-10 21:52:36 +0100
committerLeSeulArtichaut <leseulartichaut@gmail.com>2019-12-12 20:56:14 +0100
commitcf8c0d7a04eed6a1a5c245331dbcbf8e8a26ac8b (patch)
tree60fb9c63b83ef299a015b47db26fe53435ff1f97
parent8fb729ccda8abcc43d71eafc38ab0feccc93e886 (diff)
downloadrust-cf8c0d7a04eed6a1a5c245331dbcbf8e8a26ac8b.tar.gz
rust-cf8c0d7a04eed6a1a5c245331dbcbf8e8a26ac8b.zip
I have to revise left and right
-rw-r--r--src/librustc_typeck/check/op.rs2
1 files changed, 1 insertions, 1 deletions
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!(