Files
rust/tests/ui/crashes
bors 70e85d146f Auto merge of #10403 - smoelius:fix-107877, r=Jarcho
Fix rust-lang/rust#107877, etc.

Fix #10009
Fix #10387
Fix https://github.com/rust-lang/rust/issues/107877

The fix is to verify that the associated item's trait is implemented before trying to project the item's type.

r? `@Jarcho`

---

changelog: ICE: [`needless_borrow`]: No longer panics on ambiguous projections
[#10403](https://github.com/rust-lang/rust-clippy/pull/10403)
<!-- changelog_checked -->
2023-03-05 01:15:46 +00:00
..
2020-07-10 07:39:28 -04:00
2019-12-31 20:55:12 +09:00
2022-10-01 10:03:06 +00:00
2021-08-11 14:21:33 +00:00
2019-12-31 20:55:12 +09:00
2019-12-31 20:55:12 +09:00
2019-12-31 20:55:12 +09:00
2020-02-28 22:00:20 +01:00
2022-03-24 11:27:07 +00:00
2022-11-09 19:23:23 +08:00
2022-07-07 09:27:42 +02:00
2022-10-01 10:03:06 +00:00
2022-06-03 17:16:41 -04:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-07 18:08:49 +02:00
2022-10-07 18:08:49 +02:00
2020-03-10 18:18:34 +09:00