about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-09 11:56:38 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-09 20:15:44 +1000
commitd6c63bdb2188d4c90cf0e9958d7744834a132072 (patch)
tree9ce68f2a4f26f539f17e5d2562437f41bc9b6028 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent609b9a67c992dadf19bd7d8cdc77237d82d95152 (diff)
downloadrust-d6c63bdb2188d4c90cf0e9958d7744834a132072.tar.gz
rust-d6c63bdb2188d4c90cf0e9958d7744834a132072.zip
Fix up `DescriptionCtx::new`.
The comment mentions that `ReBound` and `ReVar` aren't expected here.
Experimentation with the full test suite indicates this is true, and
that `ReErased` also doesn't occur. So the commit introduces `bug!` for
those cases. (If any of them show up later on, at least we'll have a
test case.)

The commit also remove the first sentence in the comment.
`RePlaceholder` is now handled in the match arm above this comment and
nothing is printed for it, so that sentence is just wrong. Furthermore,
issue #13998 was closed some time ago.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions