Refactor & improve handling of overloaded binary operators

Fixes #9971. Also records them as method resolutions, which we could use
later.
This commit is contained in:
Florian Diebold 2021-08-22 17:21:47 +02:00
parent c8fd4fd410
commit 424dda8113
11 changed files with 317 additions and 261 deletions

View file

@ -2773,8 +2773,8 @@ fn foo() {
file_id: FileId(
1,
),
full_range: 253..435,
focus_range: 292..298,
full_range: 254..436,
focus_range: 293..299,
name: "Future",
kind: Trait,
description: "pub trait Future",