diff options
| author | rail <12975677+rail-rain@users.noreply.github.com> | 2020-10-01 10:51:49 +1300 |
|---|---|---|
| committer | rail <12975677+rail-rain@users.noreply.github.com> | 2020-10-04 18:15:28 +1300 |
| commit | f58a1695a67e2db741b7237992e696ff9a14d0ab (patch) | |
| tree | 89e946533c652e610ec7e21b0ffff53ca7a9ad2a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | be8160878ab7a8e1367acecc173f92e6f509e033 (diff) | |
| download | rust-f58a1695a67e2db741b7237992e696ff9a14d0ab.tar.gz rust-f58a1695a67e2db741b7237992e696ff9a14d0ab.zip | |
fix a FP in `interior_mutable_const`
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. Note that 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).
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
