diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-02-04 21:10:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-04 21:10:44 +0100 |
| commit | 6f014cd4db1182adf80f540a269a4f0917c063d3 (patch) | |
| tree | 33187bd541b2cbcde19d5e1bb942ac27b2b0a688 /compiler/rustc_errors/src/snippet.rs | |
| parent | 113e27fcfcf20d3c241ca40c0f8c214aa578014d (diff) | |
| parent | f42e96149dd03e816b8bc3c329e7b9a5d12fcdab (diff) | |
| download | rust-6f014cd4db1182adf80f540a269a4f0917c063d3.tar.gz rust-6f014cd4db1182adf80f540a269a4f0917c063d3.zip | |
Rollup merge of #81745 - Kixunil:stabilize_once_poison, r=m-ou-se
Stabilize poison API of Once, rename poisoned() This stabilizes: * `OnceState` * `OnceState::is_poisoned()` (previously named `poisoned()`) * `Once::call_once_force()` `poisoned()` was renamed because the new name is more clear as a few people agreed and nobody objected. Closes #33577 Notes: * I'm not entirely sure it's supposed to be 1.51, LMK if I did it wrong * I failed to run tests locally, so we will have to leave it to bors or someone else can try
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
