Files
guoyu 9914f3cac9 fix: handle multi-byte UTF-8 identifiers in NameGenerator::suggest_name
`split_numeric_suffix` used `rfind` to locate the last non-numeric
character and then split at `pos + 1`. Since `rfind` returns a byte
offset, this panics when the last non-numeric character is multi-byte
(e.g. CJK identifiers like `日本語`).

Use `str::ceil_char_boundary` to advance past the full character before
splitting.
2026-03-10 21:46:14 +08:00
..