Files
rust/compiler
Nicholas Nethercote 076cccd412 Remove Op type.
First, move the `lang_item_for_op` call from the top of
`lookup_op_method`'s body to its callsites. It makes those callsites a
little more verbose, but also means `lookup_op_method` no longer cares
whether it's handling a binop or unop. This lets us remove `Op` and
split `lang_item_for_op` into `lang_item_for_{bin,un}op`, which is a
little simpler.

This change is a prerequisite for adding the `ast::AssignOpKind` type in
a subsequent commit.
2025-04-03 10:18:56 +11:00
..
2025-04-02 06:20:35 +11:00
2025-04-03 10:18:56 +11:00
2025-03-15 06:34:36 +00:00
2025-03-28 12:14:09 +00:00