about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-12-14 13:30:31 +1100
committerZalathar <Zalathar@users.noreply.github.com>2023-12-15 10:59:32 +1100
commit3b610c764d1c515699fe6cb681c316a4bf772c7a (patch)
tree958415a2d2d5eab48cc38c1a4b518d9fa2cbb4e2 /compiler/rustc_pattern_analysis/src
parent7de2156bfda6a2c443486a7d469a56c75284e320 (diff)
downloadrust-3b610c764d1c515699fe6cb681c316a4bf772c7a.tar.gz
rust-3b610c764d1c515699fe6cb681c316a4bf772c7a.zip
coverage: Compare span source files without involving `Lrc<SourceFile>`
If we want to know whether two byte positions are in the same file, we don't
need to clone and compare `Lrc<SourceFile>`; we can just get their indices and
compare those instead.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions