-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints
Description
This Rust program:
fn main() {
let len = 'ஶ்ரீ'.len_utf8();
}
contains TAMIL SYLLABLE SHRII (śrī)
, aka U+0BB6 U+0BCD U+0BB0 U+0BC0
. When trying to compile this program, I get this error:
2:20: 2:22 error: unterminated character constant: '.
2 let len = 'ஶ்ரீ'.len_utf8();
I know that it isn't a copy-paste issue, because I used vim's C-V u
to type in the four code points manually.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints