Commit d4d4b6b
authored
Rollup merge of rust-lang#129250 - estebank:issue-129205, r=compiler-errors
Do not ICE on non-ADT rcvr type when looking for crate version collision
When looking for multiple versions of the same crate, do not blindly construct the receiver type.
Follow up to rust-lang#128786.
Fixes rust-lang#129205
Fixes rust-lang#129216File tree
5 files changed
+33
-23
lines changed- compiler/rustc_hir_typeck/src/method
- tests
- crashes
- ui/methods
5 files changed
+33
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3498 | 3498 | | |
3499 | 3499 | | |
3500 | 3500 | | |
3501 | | - | |
| 3501 | + | |
3502 | 3502 | | |
3503 | 3503 | | |
3504 | 3504 | | |
| |||
3689 | 3689 | | |
3690 | 3690 | | |
3691 | 3691 | | |
3692 | | - | |
3693 | | - | |
| 3692 | + | |
3694 | 3693 | | |
3695 | 3694 | | |
3696 | 3695 | | |
| |||
3700 | 3699 | | |
3701 | 3700 | | |
3702 | 3701 | | |
3703 | | - | |
| 3702 | + | |
| 3703 | + | |
3704 | 3704 | | |
3705 | 3705 | | |
3706 | 3706 | | |
| |||
4080 | 4080 | | |
4081 | 4081 | | |
4082 | 4082 | | |
4083 | | - | |
| 4083 | + | |
4084 | 4084 | | |
4085 | 4085 | | |
4086 | 4086 | | |
| |||
4110 | 4110 | | |
4111 | 4111 | | |
4112 | 4112 | | |
| 4113 | + | |
| 4114 | + | |
4113 | 4115 | | |
4114 | | - | |
| 4116 | + | |
4115 | 4117 | | |
4116 | 4118 | | |
4117 | 4119 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments