about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-paths.js
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-11-27 19:06:48 -0500
committerGitHub <noreply@github.com>2023-11-27 19:06:48 -0500
commit344459ed4f124175570ad25a5359bb30cb422a82 (patch)
tree5779338539f9f7c5277fcffd62b1f1e11aba6d10 /tests/rustdoc-js-std/parser-paths.js
parent7851d985fdbdf36218d34f83daedf77e620f0797 (diff)
parent45fc842ed93d206d3923b869eeb1437cd62e0be8 (diff)
downloadrust-344459ed4f124175570ad25a5359bb30cb422a82.tar.gz
rust-344459ed4f124175570ad25a5359bb30cb422a82.zip
Rollup merge of #118381 - Enselic:edit-dist-len, r=WaffleLapkin
rustc_span: Use correct edit distance start length for suggestions

Otherwise the suggestions can be off-base for non-ASCII identifiers. For example suggesting that `Ok` is a name similar to `读文`.

Closes https://github.com/rust-lang/rust/issues/72553.
Diffstat (limited to 'tests/rustdoc-js-std/parser-paths.js')
0 files changed, 0 insertions, 0 deletions