Matthias Krüger f72e974e3f
Rollup merge of #117655 - compiler-errors:method-tweaks, r=estebank
Method suggestion code tweaks

I was rummaging around the method suggestion code after https://github.com/rust-lang/rust/pull/117006#discussion_r1384153722 and saw a few things to simplify.

This is two unrelated commits, both in the same file. Review them separately, if you'd like.

r? estebank
2023-11-08 00:47:52 +01:00
..
2023-10-17 17:33:55 +00:00
2023-10-30 22:19:17 +00:00
2023-10-30 22:19:17 +00:00
2023-10-24 15:30:17 +00:00
2023-10-08 10:06:17 +00:00
2023-10-05 01:04:41 +00:00
2023-10-08 10:06:17 +00:00
2023-10-20 21:14:01 +00:00
2023-11-02 18:16:37 +01:00
2023-10-20 21:14:01 +00:00
2023-10-08 10:06:17 +00:00
2023-11-07 05:23:09 +00:00
2023-11-03 13:16:47 +00:00
2023-10-20 21:14:01 +00:00
2023-10-11 04:55:55 +02:00
2023-10-20 21:14:01 +00:00
2023-11-07 05:23:09 +00:00
2023-10-17 17:33:55 +00:00
2023-10-20 21:14:01 +00:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-10-20 21:14:01 +00:00