about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-22 12:00:51 +0100
committerGitHub <noreply@github.com>2025-03-22 12:00:51 +0100
commit2644500bff498ddbb2d1237c4ee43af2ef60a084 (patch)
treebefca986e170c7564a7858ecb83ba7800eb333c3 /compiler/rustc_pattern_analysis/src
parent5a9d98d1d3891371265aae9ce4f476ae43e27055 (diff)
parenteb2a2f86bb7b018afaabb1b42d55086470780bfa (diff)
downloadrust-2644500bff498ddbb2d1237c4ee43af2ef60a084.tar.gz
rust-2644500bff498ddbb2d1237c4ee43af2ef60a084.zip
Rollup merge of #138804 - tgross35:atomic-from-ptr-inline, r=RalfJung
Allow inlining for `Atomic*::from_ptr`

Currently this cannot be inlined, which among other things means it can't be used in `compiler-builtins` [1]. These are trivial functions that should be inlineable, so add `#[inline]`.

[1]: https://github.com/rust-lang/compiler-builtins/pull/790#issuecomment-2744371738
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions