about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-14 13:42:09 +0000
committerbors <bors@rust-lang.org>2022-07-14 13:42:09 +0000
commit6dc974614777a9eda8097c70679939f92f363d0e (patch)
treef4dbd65962db9a52d6a374aac2274b2c00d02916 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentc9a78ee274fe80df4c9d53f69c5bf63d64f6356a (diff)
parentd053a3dae0dd7cf1cd22b7ff6d2b0c0200036766 (diff)
downloadrust-6dc974614777a9eda8097c70679939f92f363d0e.tar.gz
rust-6dc974614777a9eda8097c70679939f92f363d0e.zip
Auto merge of #95956 - yaahc:stable-in-unstable, r=cjgillot
Support unstable moves via stable in unstable items

part of https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/moving.20items.20to.20core.20unstably and a blocker of https://github.com/rust-lang/rust/pull/90328.

The libs-api team needs the ability to move an already stable item to a new location unstably, in this case for Error in core. Otherwise these changes are insta-stable making them much harder to merge.

This PR attempts to solve the problem by checking the stability of path segments as well as the last item in the path itself, which is currently the only thing checked.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions