diff options
| author | bors <bors@rust-lang.org> | 2022-04-27 03:42:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-27 03:42:59 +0000 |
| commit | bb85bcaca93fd7cf1955d5eb0cb1e16ef462bc7e (patch) | |
| tree | 93cd7e42d20b7ad6d4aaca6bab09b8b61abbd434 /src/librustdoc/html/static/js/source-script.js | |
| parent | 99b70ee230a363220d97148d567f07366d7ea4e0 (diff) | |
| parent | 531c9373be094ad4e3ee28464dfacbb2fdea50a5 (diff) | |
| download | rust-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
