rust/clippy_lints
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
..
src Auto merge of #6110 - rail-rain:care_enums_non_copy_const, r=llogiq 2020-11-07 15:51:13 +00:00
Cargo.toml Revert changes to Cargo.toml file 2020-10-26 00:53:51 +01:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.