about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-03-27 15:41:13 -0700
committerDan Gohman <dev@sunfishcode.online>2022-04-18 16:53:36 -0700
commit703a33673de30572960eb3fe2c36a0f51083d226 (patch)
tree9e124cf6a2f162edd74afc86ebb2be36d64005e4 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent311e2683e1bad87715b1558f7900e294d24ce491 (diff)
downloadrust-703a33673de30572960eb3fe2c36a0f51083d226.tar.gz
rust-703a33673de30572960eb3fe2c36a0f51083d226.zip
Define a dedicated error type for `HandleOrNull` and `HandleOrInvalid`.
Define a `NotHandle` type, that implements `std::error::Error`, and use
it as the error type in `HandleOrNull` and `HandleOrInvalid`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions