about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-20 17:10:33 +0100
committerGitHub <noreply@github.com>2022-01-20 17:10:33 +0100
commit405cf2044210f5f2286d6b526882744d403ea805 (patch)
tree3f3f6e966f6a074ae8f699427035ae49b9d92c73 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent02379e917b2e187997bdabd290e61ecf0744faaf (diff)
parentdc1c39b10ed4650de784e860e2778c3e246f585e (diff)
downloadrust-405cf2044210f5f2286d6b526882744d403ea805.tar.gz
rust-405cf2044210f5f2286d6b526882744d403ea805.zip
Rollup merge of #91694 - euclio:stability-improvements, r=GuillaumeGomez
rustdoc: decouple stability and const-stability

This PR tweaks the stability rendering code to consider stability and const-stability separately. This fixes two issues:

- Stabilities that match the enclosing item are now always omitted, even if the item has const-stability as well (#90552)
- Const-stable unstable functions will now have their (const-) stability rendered.

Fixes #90552.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions