about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-11 13:28:11 +0000
committerbors <bors@rust-lang.org>2024-06-11 13:28:11 +0000
commit21e9022cda994aa7304a8bac38dc659630be254b (patch)
treee686d6d33c0c277c1894c7ba5ea2ac9afcc114e5 /tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs
parenta3ec3b9621de2e52eccdffe43b6a81ca6cea8833 (diff)
parent668327a672161aa68f965293266fe6fff44bd396 (diff)
downloadrust-21e9022cda994aa7304a8bac38dc659630be254b.tar.gz
rust-21e9022cda994aa7304a8bac38dc659630be254b.zip
Auto merge of #17364 - roife:fix-issue-12917, r=Veykril
feat: show type bounds from containers when hovering on functions

fix #12917.

### Changes

1. Added Support for displaying the container and type bounds from it when hovering on functions with generic types.
2. Added a user config to determine whether to display container bounds (enabled by default).
3. Added regression tests.
4. Simplified and refactored `hir/display.rs` to improve readability.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs')
0 files changed, 0 insertions, 0 deletions