diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-11-08 13:36:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-08 13:36:33 +0100 |
| commit | 91759b2de528f95289596e94c69b88a1927a94e0 (patch) | |
| tree | 543bc6807689dcf1da90dc4d25e5f3ddb1e7a32a /compiler/rustc_resolve | |
| parent | c4e262ee6f35ac8d501eedc4a52d3b7c779b21fe (diff) | |
| parent | bd3f3fa32a7ffe30b47625edc4c6bf814aed4964 (diff) | |
| download | rust-91759b2de528f95289596e94c69b88a1927a94e0.tar.gz rust-91759b2de528f95289596e94c69b88a1927a94e0.zip | |
Rollup merge of #78865 - Aaron1011:fix/const-item-mut-reborrow, r=varkor
Don't fire `CONST_ITEM_MUTATION` lint when borrowing a deref Fixes #78819 This extends the check for dereferences added in PR #77324 to cover mutable borrows, as well as direct writes. If we're operating on a dereference of a `const` item, we shouldn't be firing the lint.
Diffstat (limited to 'compiler/rustc_resolve')
0 files changed, 0 insertions, 0 deletions
