about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-18 20:54:36 +0000
committerbors <bors@rust-lang.org>2021-01-18 20:54:36 +0000
commitd98d2f57d9b98325ff075c343d2c7695b66dfa7d (patch)
tree88e9284491c7a5856c5135c28839bb1146d88372 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent73f233b3ad68b54f854c0aea918fc496a35502cf (diff)
parent5bac1c9229331105bab558f7d3be1685a76d110c (diff)
downloadrust-d98d2f57d9b98325ff075c343d2c7695b66dfa7d.tar.gz
rust-d98d2f57d9b98325ff075c343d2c7695b66dfa7d.zip
Auto merge of #80707 - oli-obk:stability_hole_const_intrinsics, r=RalfJung
Stability oddity with const intrinsics

cc `@RalfJung`

In https://github.com/rust-lang/rust/pull/80699#discussion_r551495670 `@usbalbin` realized we accepted some intrinsics as `const` without a `#[rustc_const_(un)stable]` attribute. I did some digging, and that example works because intrinsics inherit their stability from their parents... including `#[rustc_const_(un)stable]` attributes. While we may want to fix that (not sure, wasn't there just a MCPed PR that caused this on purpose?), we definitely want tests for it, thus this PR adding tests and some fun tracing statements.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions