lloydmeta / frunk

Funktional generic type-level programming in Rust: HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid and friends.
https://beachape.com/frunk/
MIT License
1.24k stars 56 forks source link

Fix unicode identifiers support #186

Closed lloydmeta closed 3 years ago

lloydmeta commented 3 years ago
ExpHP commented 3 years ago

Hmmm, that unicode "mixed script confusibles" warning is really pesky. :/

Looking at this: https://www.unicode.org/Public/security/13.0.0/confusablesSummary.txt. I guess β (beta) is no good either because it looks like ß? I'm hard pressed to find any character that is not on here...

Maybe we should just #![allow(mixed_script_confusables)] on the file. It is just a test file after all... (and also, the set of confusables can change over time, so I'm not sure if there's really any other way to be robust against this)

lloydmeta commented 3 years ago

Looks like あ did the trick.