about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-05 11:14:37 +0000
committerbors <bors@rust-lang.org>2024-01-05 11:14:37 +0000
commitdc31cef5fcbfe395f3137f9f3e8f2916cd429fdf (patch)
tree1a4dcde329ca1511dcd9eb357b9498c955d19cbe /compiler/rustc_mir_transform/src/coverage/graph.rs
parent11b01266795a749dea8a2e2bdc67a638c9483b2f (diff)
parent4f75e0f9108192a8d3e115e885cfaf220d1660b8 (diff)
downloadrust-dc31cef5fcbfe395f3137f9f3e8f2916cd429fdf.tar.gz
rust-dc31cef5fcbfe395f3137f9f3e8f2916cd429fdf.zip
Auto merge of #16268 - Veykril:method-trait-completion-limit, r=Veykril
Remove completion limit for trait importing method completions

Fixes https://github.com/rust-lang/rust-analyzer/issues/16075

The < 3 char limit never applied to methods and the amount of completions generated due this is not absolutely massive as not all traits in a project are ever applicable so there is little reason to employ the limit here. Especially as it limits the number of traits we consider, not items (after my changes yesterday), and the number of traits is not the slowing factor here. Tested this in r-a where we have ~800 traits project wide and even when ~260 are applicable there was no noticable slow down from it.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions