about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-27 03:42:59 +0000
committerbors <bors@rust-lang.org>2022-04-27 03:42:59 +0000
commitbb85bcaca93fd7cf1955d5eb0cb1e16ef462bc7e (patch)
tree93cd7e42d20b7ad6d4aaca6bab09b8b61abbd434 /src/librustdoc/html/static/js/source-script.js
parent99b70ee230a363220d97148d567f07366d7ea4e0 (diff)
parent531c9373be094ad4e3ee28464dfacbb2fdea50a5 (diff)
downloadrust-bb85bcaca93fd7cf1955d5eb0cb1e16ef462bc7e.tar.gz
rust-bb85bcaca93fd7cf1955d5eb0cb1e16ef462bc7e.zip
Auto merge of #96195 - sunfishcode:sunfishcode/handle-or-error-type, r=joshtriplett
 Define a dedicated error type for `HandleOrNull` and `HandleOrInvalid`.

Define `NullHandleError` and `InvalidHandleError` types, that implement std::error::Error, and use them as the error types in `HandleOrNull` and `HandleOrInvalid`,

This addresses [this concern](https://github.com/rust-lang/rust/issues/87074#issuecomment-1080031167).

This is the same as #95387.

r? `@joshtriplett`
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions