about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-04 13:00:25 +0000
committerbors <bors@rust-lang.org>2022-04-04 13:00:25 +0000
commitd5139f44690e7765df801ca33a7f627d128ac9e2 (patch)
tree35dd497f50c0bff9d8c82236552bebd701f1fed1 /compiler/rustc_interface/src/lib.rs
parent2ed6786404be276874fbcc7c3540f3237a87e0f3 (diff)
parente2dfa23eac2586623bc12a9e43683b9a50874c0b (diff)
downloadrust-d5139f44690e7765df801ca33a7f627d128ac9e2.tar.gz
rust-d5139f44690e7765df801ca33a7f627d128ac9e2.zip
Auto merge of #95119 - OliverMD:method_suggestions, r=davidtwco
Improve method name suggestions

Attempts to improve method name suggestions when a matching method name
is not found. The approach taken is use the Levenshtein distance and
account for substrings having a high distance but can sometimes be very
close to the intended method (eg. empty vs is_empty).

resolves #94747
Diffstat (limited to 'compiler/rustc_interface/src/lib.rs')
0 files changed, 0 insertions, 0 deletions