RS.CLIPPY.UNICODE_NOT_NFC

Using a Unicode literal not in NFC normal form (see [Unicode tr15](http://www.unicode.org/reports/tr15/) for further information)

This checker is a Clippy lint created by The Rust Project Contributors. The documentation shown here is a copy of the original documentation for: unicode_not_nfc. Copyright ©2025 The Rust Team. All rights reserved.

What it does

Checks for string literals that contain Unicode in a form that is not equal to its NFC-recomposition.

Why is this bad?

If such a string is compared to another, the results may be surprising.

Example

You may not see it, but "à”" and "à”" aren't the same string. The former when escaped is actually "a\\u{300}" while the latter is "\\u{e0}".