about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorCelina G. Val <celinval@amazon.com>2023-12-05 12:01:09 -0800
committerCelina G. Val <celinval@amazon.com>2023-12-05 12:03:44 -0800
commit326fea0fb86e148adc8168ac70a5ceddef3ad9a3 (patch)
treef95cf3640c3eb3ec1ddca6e8b0fe3de0598507ac /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent1720b108f7ce17aac804fe21d2d647714938cb57 (diff)
downloadrust-326fea0fb86e148adc8168ac70a5ceddef3ad9a3.tar.gz
rust-326fea0fb86e148adc8168ac70a5ceddef3ad9a3.zip
Change ty_with_args to return Ty instead of Result
Although, we would like to avoid crashes whenever
possible, and that's why I wanted to make this API fallible. It's
looking pretty hard to do proper validation.

I think many of our APIs will unfortunately depend on the user doing
the correct thing since at the MIR level we are working on,
we expect types to have been checked already.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions