mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
3b8fd5f895
Rename `can_coerce` to `may_coerce`, and then structurally resolve correctly in the probe We need to structurally resolve the lhs and rhs of the coercion. Also, renaming the method so it's less ambiguous about what it's doing... the word "may" gives more clear signal that it has false positives imo. r? lcnr