summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hir_expand/ufcs_everything.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir_expand/ufcs_everything.cpp b/src/hir_expand/ufcs_everything.cpp
index 00e7eee1..925543eb 100644
--- a/src/hir_expand/ufcs_everything.cpp
+++ b/src/hir_expand/ufcs_everything.cpp
@@ -414,7 +414,7 @@ namespace {
break;
case ::HIR::ExprNode_BinOp::Op::Shr: langitem = method = "shr"; if(0)
- case ::HIR::ExprNode_BinOp::Op::Shl: langitem = method = "shr";
+ case ::HIR::ExprNode_BinOp::Op::Shl: langitem = method = "shl";
if( is_op_valid_shift(ty_l, ty_r) ) {
return ;
}