diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-04-30 21:40:03 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-04-30 21:40:03 +0800 |
commit | 02875a072d70959129f92024e0e0e9af73523801 (patch) | |
tree | 5db4377d6c6844550d7872a649d6bcd1f747df5c | |
parent | 5067ce7101bc9cd5ac9ae6eeac0c1efe2190894c (diff) | |
download | mrust-02875a072d70959129f92024e0e0e9af73523801.tar.gz |
HIR Expand - Fix typo in UFCS Everything
-rw-r--r-- | src/hir_expand/ufcs_everything.cpp | 2 |
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 ; } |