Skip to content

Cleanup: Refactor rustc_typeck/check/op.rs #64297

@Centril

Description

@Centril

rustc_typeck/check/op.rs has some seriously over-complicated methods, e.g. fn check_overloaded_binop, that obscure the happy path and do way too much. The file and especially the aforementioned method should be refactored.

Metadata

Metadata

Assignees

Labels

A-type-systemArea: Type systemC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions