Improve `non_local_effect_before_error_return` diagnostic messages
smoelius opened this issue · comments
Samuel Moelius commented
@fcasal writes:
Do you think it would be possible to know and mention the origin of the issue for these expansion cases? e.g., instead of saying “call with mutable reference before error return”, say “call FUNC with mutable reference before error return in FUNC for trait …“. This way you can start looking into the concrete function causing the warning.
Samuel Moelius commented
Related #929
Samuel Moelius commented
Fixed by #1019