about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/optimize/code_layout.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-12-01 10:50:21 +0000
committerGitHub <noreply@github.com>2020-12-01 10:50:21 +0000
commit33d7b8c65c6180143dfddbc4c7556c910fe1b9c8 (patch)
treecee88ff184dfc511c6d43156807aabdb11ca4642 /compiler/rustc_codegen_cranelift/src/optimize/code_layout.rs
parentf45e6953d76d886bb649ffd80f1e19ce2e1bfeda (diff)
parentccbb0f5c1a1100b271f9945add665c692a2bf230 (diff)
downloadrust-33d7b8c65c6180143dfddbc4c7556c910fe1b9c8.tar.gz
rust-33d7b8c65c6180143dfddbc4c7556c910fe1b9c8.zip
Rollup merge of #79548 - CraftSpider:76998, r=jyn514
Show since when a function is const in stdlib

Fixes #76998

This makes it so that functions with the `#[rustc_const_stable()]` attribute now show from what version they were stably declared const, alongside what version they were declared stable. Example from `Result`:
![image](https://user-images.githubusercontent.com/13342132/100561194-1be60d00-3286-11eb-99ff-1e81201218a9.png)

r? ``@jyn514``
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/optimize/code_layout.rs')
0 files changed, 0 insertions, 0 deletions