Files
rust/tests/ui-fulldeps/lexer/unicode-version.run.stdout
Marcondiro f7cb82e70a lexer/parser: ensure deps use the same unicode version
Add a compile time check in rustc_lexer and rustc_parse ensuring that unicode-related dependencies within the crate use the same unicode version.
These checks are inspired by the examples privided by @clarfonthey.
2025-12-27 11:20:42 +01:00

4 lines
251 B
Plaintext

Checking if Unicode version changed.
If the Unicode version changes are intentional, it should also be updated in the reference at https://github.com/rust-lang/reference/blob/HEAD/src/identifiers.md.
Unicode version used in rustc_parse is: (17, 0, 0)