43cae88079
As the comment said, the subtraction is bogus for multibyte characters. Fortunately, we can just use last_pos instead of pos to get the correct position without any subtraction hackery. |
||
---|---|---|
.. | ||
ext | ||
parse | ||
util | ||
abi.rs | ||
ast_map.rs | ||
ast_util.rs | ||
ast.rs | ||
attr.rs | ||
codemap.rs | ||
diagnostic.rs | ||
fold.rs | ||
opt_vec.rs | ||
syntax.rc | ||
visit.rs |