mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +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 |
||
---|---|---|
.. | ||
auxiliary | ||
ui | ||
ui-toml | ||
compile-test.rs | ||
dogfood.rs | ||
matches.rs | ||
missing-test-files.rs | ||
needless_continue_helpers.rs | ||
versioncheck.rs |