diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-09 11:56:38 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-09 20:15:44 +1000 |
| commit | d6c63bdb2188d4c90cf0e9958d7744834a132072 (patch) | |
| tree | 9ce68f2a4f26f539f17e5d2562437f41bc9b6028 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 609b9a67c992dadf19bd7d8cdc77237d82d95152 (diff) | |
| download | rust-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
