diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-06 15:41:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-06 15:41:26 +0100 |
| commit | faf1a7ffc8792f0396399d007e83a851daf67422 (patch) | |
| tree | 592b69807bc27ff483868c10ccacefc40c4c008c /compiler/rustc_codegen_llvm/src | |
| parent | ad0d1d71d3bc6f85f53d8ab2bf47daa7c8bc2c51 (diff) | |
| parent | 484936bbfcb09c357569198f9a5a21deed8dd041 (diff) | |
| download | rust-faf1a7ffc8792f0396399d007e83a851daf67422.tar.gz rust-faf1a7ffc8792f0396399d007e83a851daf67422.zip | |
Rollup merge of #93412 - fee1-dead:improve-rustdoc-const-bounds, r=GuillaumeGomez
Improve rustdoc const bounds - Rustdoc no longer displays `~const` in trait bounds, because it currently means nothing for stable users, and because we still haven't decided on the final syntax yet. - Rustdoc will hide trait bounds where the trait is `Drop` AND it is `~const`, i.e. `~const Drop` bounds because it has no effect on stable users as well. - Because of additional logic that hides the whole `where` statement where it consists of `~const Drop` bounds (so it doesn't display `struct Foo<T>() where ;` like that), bounds that have no trait e.g. `where [T; N+1]: ;` are also hidden. Cherry-picked from #92433.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
