diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2024-05-26 12:28:47 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2024-05-26 21:06:02 -0700 |
| commit | 699d28f968178e6b20084b2a71ba89b4de7562cf (patch) | |
| tree | 702821af9d4ef20044a25476fc1b4971d0e56f4e /tests/coverage/branch/lazy-boolean.rs | |
| parent | fa7a3f9049c6d3f781516ca10c163efcf3e01326 (diff) | |
| download | rust-699d28f968178e6b20084b2a71ba89b4de7562cf.tar.gz rust-699d28f968178e6b20084b2a71ba89b4de7562cf.zip | |
rustdoc: Show "const" for const-unstable if also overall unstable
If a const function is unstable overall (and thus, in all circumstances I know of, also const-unstable), we should show the option to use it as const. You need to enable a feature to use the function at all anyway. If the function is stabilized without also being const-stabilized, then we do not show the const keyword and instead show "const: unstable" in the version info.
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions
