rust/tests
bors 694cec12be Auto merge of #6110 - rail-rain:care_enums_non_copy_const, r=llogiq
"Respect" enums in `interior_mutable_const`

fixes #3962
fixes #3825

Hello,

It might not be a good idea to submit another relatively large PR while I have an opened PR; but, I've finished this anyway. This may be able to wait for months.

Note: the code uses the MIR interpreter, which the author of #3962 thought unlikely to be a solution. This might be over-engineering; but, I think it's important to be able to work with the 'http' crate (#3825). (And, I don't want to write a MIR visitor)

---

changelog: fix a false positive in two `interior_mutable_const` lints where a constant with enums gets linted
even if it uses a clearly unfrozen variant
2020-11-07 15:51:13 +00:00
..
auxiliary
cargo
ui Auto merge of #6110 - rail-rain:care_enums_non_copy_const, r=llogiq 2020-11-07 15:51:13 +00:00
ui-cargo Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup 2020-10-23 22:16:59 +02:00
ui-toml Add large_types_passed_by_value lint 2020-10-24 14:46:56 -03:00
compile-test.rs
dogfood.rs
fmt.rs
integration.rs
missing-test-files.rs
versioncheck.rs