diff options
| author | bors <bors@rust-lang.org> | 2023-02-14 11:15:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-14 11:15:55 +0000 |
| commit | 88b3d9f6f43a5e18a3caea1c71db64bf235d97d8 (patch) | |
| tree | 38857e90a18996c2b1adee023ac5538a18c6fb4f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 31486a639d19d121b31d1fcc4cb93390ee976081 (diff) | |
| parent | 60fa8fefa6faced4028aecfc81afd73bdfaa5f77 (diff) | |
| download | rust-88b3d9f6f43a5e18a3caea1c71db64bf235d97d8.tar.gz rust-88b3d9f6f43a5e18a3caea1c71db64bf235d97d8.zip | |
Auto merge of #14144 - lowr:fix/find-occurrence-of-raw-ident, r=Veykril
fix: Search raw identifiers without prefix When we find references/usages of a raw identifier, we should disregard `r#` prefix because there are keywords one can use without the prefix in earlier editions (see #13034; this bug is actually fallout from the PR). `name`, the text we're searching for, has already been stripped of the prefix, but the text of nodes we compare it to hasn't been. The second commit is strictly refactoring, I can remove it if it's not much of value.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
