diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-04-13 11:30:05 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-04-15 20:33:01 +0200 |
| commit | cd26de607aa8e421bf0b3365c9e7a3854c764c67 (patch) | |
| tree | c18d07203c98438ef3fa987060aa3642f5188bd1 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 20649a87d1d7184a24b90bf93bc3cdbe080c2fb5 (diff) | |
| download | rust-cd26de607aa8e421bf0b3365c9e7a3854c764c67.tar.gz rust-cd26de607aa8e421bf0b3365c9e7a3854c764c67.zip | |
`misnamed_getters`: support `unsafe` blocks around getters
In edition 2024, `unsafe` blocks must be used inside `unsafe fn` to do unsafe things. The `misnamed_getters` would not lint if the getter expression was embedded inside an `unsafe` block.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
