use Span::find_ancestor_inside
to get right span in CastCheck#95920
Merged
bors merged 1 commit intorust-lang:masterfrom compiler-errors:cast-suggestion-spanApr 12, 2022
+42-18
Span::find_ancestor_inside
to get right span in CastCheck#95920