Skip to content

Commit 23c9ac6

Browse files
authored
Rollup merge of #72770 - crlf0710:mixed_script_confusable, r=Manishearth
Implement mixed script confusable lint. This implements the mixed script confusable lint defined in RFC 2457. This is blocked on #72069 and unicode-rs/unicode-security#13, and will need a Cargo.toml version bump after those are resolved. The lint message warning is sub-optimal for now. We'll need a mechanism to properly output `AugmentScriptSet` to screen, this is to be added in `unicode-security` crate. r? @Manishearth
2 parents 9275ff7 + 25e864e commit 23c9ac6

17 files changed

+333
-165
lines changed

Cargo.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -5405,15 +5405,15 @@ dependencies = [
54055405

54065406
[[package]]
54075407
name = "unicode-script"
5408-
version = "0.4.0"
5408+
version = "0.5.1"
54095409
source = "registry+https://github.com/rust-lang/crates.io-index"
5410-
checksum = "5b2c5c29e805da6817f5af6a627d65adb045cebf05cccd5a3493d6109454391c"
5410+
checksum = "58b33414ea8db4b7ea0343548dbdc31d27aef06beacf7044a87e564d9b0feb7d"
54115411

54125412
[[package]]
54135413
name = "unicode-security"
5414-
version = "0.0.3"
5414+
version = "0.0.5"
54155415
source = "registry+https://github.com/rust-lang/crates.io-index"
5416-
checksum = "a5f9011bbed9c13372bc8df618b55a38138445199caf3b61d432c6859c36dee0"
5416+
checksum = "5d87c28edc5b263377e448d6cdcb935c06b95413d8013ba6fae470558ccab18f"
54175417
dependencies = [
54185418
"unicode-normalization",
54195419
"unicode-script",

src/librustc_lint/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ path = "lib.rs"
1010

1111
[dependencies]
1212
log = "0.4"
13-
unicode-security = "0.0.3"
13+
unicode-security = "0.0.5"
1414
rustc_middle = { path = "../librustc_middle" }
1515
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
1616
rustc_attr = { path = "../librustc_attr" }

0 commit comments

Comments
 (0)