add list of characters to uncommon codepoints lint

This commit is contained in:
HTGAzureX1212. 2024-01-23 10:56:33 +08:00
parent 0011fac90d
commit f3682a1304
No known key found for this signature in database
GPG key ID: 89A2F7143673C5B9
6 changed files with 26 additions and 7 deletions

View file

@ -1107,7 +1107,9 @@ pub struct IdentifierNonAsciiChar;
#[derive(LintDiagnostic)]
#[diag(lint_identifier_uncommon_codepoints)]
pub struct IdentifierUncommonCodepoints;
pub struct IdentifierUncommonCodepoints {
pub codepoints: Vec<char>,
}
#[derive(LintDiagnostic)]
#[diag(lint_confusable_identifier_pair)]