- fluent::lint_mixed_script_confusables,
- |lint| {
- let mut includes = String::new();
- for (idx, ch) in ch_list.into_iter().enumerate() {
- if idx != 0 {
- includes += ", ";
- }
- let char_info = format!("'{}' (U+{:04X})", ch, ch as u32);
- includes += &char_info;
- }
- lint.set_arg("set", script_set.to_string())
- .set_arg("includes", includes)
- .note(fluent::includes_note)
- .note(fluent::note)
- },