about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-02-04 21:10:44 +0100
committerGitHub <noreply@github.com>2021-02-04 21:10:44 +0100
commit6f014cd4db1182adf80f540a269a4f0917c063d3 (patch)
tree33187bd541b2cbcde19d5e1bb942ac27b2b0a688 /compiler/rustc_errors/src/snippet.rs
parent113e27fcfcf20d3c241ca40c0f8c214aa578014d (diff)
parentf42e96149dd03e816b8bc3c329e7b9a5d12fcdab (diff)
downloadrust-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