Stop using to_hir_binop
in codegen
This commit is contained in:
parent
b54dd08a84
commit
8ee3d29cd9
5 changed files with 37 additions and 36 deletions
|
@ -295,7 +295,7 @@ impl BorrowKind {
|
|||
}
|
||||
|
||||
impl BinOp {
|
||||
pub fn to_hir_binop(self) -> hir::BinOpKind {
|
||||
pub(crate) fn to_hir_binop(self) -> hir::BinOpKind {
|
||||
match self {
|
||||
BinOp::Add => hir::BinOpKind::Add,
|
||||
BinOp::Sub => hir::BinOpKind::Sub,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue