You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Panics with (as character 𓀕 occupies byte 5 and 6)
---- source_text stdout ----
thread 'source_text' panicked at 'byte index 6 is not a char boundary; it is inside '𓀕' (bytes 4..8) of ` 𓀕 c `', src/fallback.rs:367:25
The text was updated successfully, but these errors were encountered:
It treats
lo
as a byte index, while it is actually a character index:proc-macro2/src/fallback.rs
Line 367 in 7f5533d
I expect this test to pass, but it does not:
Panics with (as character
𓀕
occupies byte 5 and 6)The text was updated successfully, but these errors were encountered: