summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-04-30 21:40:03 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-04-30 21:40:03 +0800
commit02875a072d70959129f92024e0e0e9af73523801 (patch)
tree5db4377d6c6844550d7872a649d6bcd1f747df5c
parent5067ce7101bc9cd5ac9ae6eeac0c1efe2190894c (diff)
downloadmrust-02875a072d70959129f92024e0e0e9af73523801.tar.gz
HIR Expand - Fix typo in UFCS Everything
-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 ;
}