aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_analyzer.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-03 09:57:02 +0100
committerGitHub <[email protected]>2020-05-03 09:57:02 +0100
commit682c079043656a55775eff33d806da517542f9eb (patch)
tree7ac096bc57e71ff76f05691a76e53df06de24d62 /crates/ra_hir/src/source_analyzer.rs
parent2474f42ae95bffea7c0bc713f92322bfec4d59a7 (diff)
parent16d3bb9106762710d2a5314ae4042674dad1b446 (diff)
Merge #4276
4276: Don't count start of non-ASCII characters as being inside of them r=matklad a=lnicola I'm still not sure that `utf16_to_utf8_col` is correct for code points from Supplementary Planes. These have two UTF-16 code units, and I feel we're not going to count them correctly. Fixes the crash in https://github.com/rust-analyzer/rust-analyzer/issues/4263#issuecomment-622988258. Co-authored-by: LaurenČ›iu Nicola <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/source_analyzer.rs')
0 files changed, 0 insertions, 0 deletions