trailofbits / dylint

Run Rust lints from dynamic libraries

Home Page:https://blog.trailofbits.com/2021/11/09/write-rust-lints-without-forking-clippy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve `non_local_effect_before_error_return` diagnostic messages

smoelius opened this issue · comments

@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.