about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-07 00:51:26 +0200
committerGitHub <noreply@github.com>2024-04-07 00:51:26 +0200
commit0b5a8ac11616c909664d421482248b49357d12dd (patch)
treefc02a90e4c9b2b682e65ce0ccdacd44a6a9af438 /compiler/rustc_codegen_llvm/src
parentf51ce75af4e6e7e1e132e2dff1dfc959f9f358a2 (diff)
parentff88a9a3326a97df3162e1439d27127bbec79b79 (diff)
downloadrust-0b5a8ac11616c909664d421482248b49357d12dd.tar.gz
rust-0b5a8ac11616c909664d421482248b49357d12dd.zip
Rollup merge of #123522 - dtolnay:constatomicintoinner, r=Nilstrieb
Stabilize const Atomic*::into_inner

Partial stabilization for https://github.com/rust-lang/rust/issues/78729, for which the FCP has already completed.

The other `into_inner` functions in that tracking issue (`UnsafeCell`, `Cell`, `RefCell`) are blocked on https://github.com/rust-lang/rust/issues/73255 for now.

```console
error[E0493]: destructor of `UnsafeCell<T>` cannot be evaluated at compile-time
    --> library/core/src/cell.rs:2076:29
     |
2076 |     pub const fn into_inner(self) -> T {
     |                             ^^^^ the destructor for this type cannot be evaluated in constant functions
2077 |         self.value
2078 |     }
     |     - value is dropped here
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions