about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-06-26 20:15:17 -0400
committerGitHub <noreply@github.com>2025-06-26 20:15:17 -0400
commit0446a0d14bb378dbe9a59f0f3e30a2f14aabd80d (patch)
tree1bbbd95c4a1967600831dc2de526784316cc748b /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentb03b3a7ec92682be2917540b679478d41c95a30c (diff)
parent1f1000f4b8480463cb709f3d5c47cdea30c07a26 (diff)
downloadrust-0446a0d14bb378dbe9a59f0f3e30a2f14aabd80d.tar.gz
rust-0446a0d14bb378dbe9a59f0f3e30a2f14aabd80d.zip
Rollup merge of #137843 - Daniel-Aaron-Bloom:const_cell, r=oli-obk
make RefCell unstably const

Now that we can do interior mutability in `const`, most of the `RefCell` API can be `const fn`. The main exceptions are APIs which use `FnOnce` (`RefCell::replace_with` and `Ref[Mut]::[filter_]map[_split]`) and `RefCell::take` which calls `Default::default`.

Tracking issue: #137844
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions