mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-01-02 16:29:10 +00:00
2755d12fa6
Fix ICE in needless_pass_by_value lint If I understand it correctly, we were first creating a type with a `RegionKind::ReErased` region and then deleted it again in `util::implements_trait` with: cx.tcx.erase_regions(&ty); causing the type query to fail. It looks like using `ReEmpty` works around that deletion. Fixes #3144 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |