Commit graph

2 commits

Author SHA1 Message Date
Esteban Küber
731c0e59a4 Account for trait/impl difference when suggesting changing argument from ref to mut ref
Do not ICE when encountering a lifetime error involving an argument with
an immutable reference of a method that differs from the trait definition.

Fix #123414.
2024-04-06 16:23:10 +00:00
Oli Scherer
d3a89cd214 Avoid an ICE in diagnostics 2024-02-13 10:44:54 +00:00