mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 18:44:56 +00:00
f82e84c894
Add map_err_ignore lint In a large code base a lot of times errors are ignored by using something like: ```rust foo.map_err(|_| Some::Enum)?; ``` This drops the original error in favor of a enum that will not have the original error's context. This lint helps catch throwing away the original error in favor of an enum without its context. --- *Please keep the line below* changelog: Added map_err_ignore lint |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |