mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
39bb68119d
Add help message suggesting explicit reference cast for From/TryFrom Closes rust-lang/rust#109829 Improves E0277 diagnostics when a `From` or `TryFrom` implementation is expected, but the provided type is a reference that can be explicitly cast to a type the trait can convert from.