about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-25 07:23:27 +0000
committerbors <bors@rust-lang.org>2024-04-25 07:23:27 +0000
commitd00de3859961f60739a27cb5b6dca7d726c6209c (patch)
tree69b9836060fd42071beb2a6401769a3e758b5dc5 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent1709e37f18d9d964ad7e8a44e90e065831950c7b (diff)
parentf7f02c0d127935aecf11b24420cdaba2cdfe0494 (diff)
downloadrust-d00de3859961f60739a27cb5b6dca7d726c6209c.tar.gz
rust-d00de3859961f60739a27cb5b6dca7d726c6209c.zip
Auto merge of #17021 - roife:add-hover-limits-for-adts, r=Veykril
Support hovering limits for adts

Fix #17009

1. Currently, r-a supports limiting the number of struct fields displayed when hovering. This PR extends it to support enum variants and union fields. Since the display of these three (ADTs) is similar, this PR extends 'hover_show_structFields' to 'hover_show_adtFieldsOrVariants'.
2. This PR also resolved the problem that the layout of ADT was not restricted by display limitations when hovering on the Self type.
3. Additionally, this PR changes the default value of display limitations to `10` (instead of the original `null`), which helps users discover this feature.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions