rust/compiler/rustc_typeck
Oliver Downard e2dfa23eac 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).
2022-04-03 16:38:57 +01:00
..
2022-04-03 16:38:57 +01:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.