mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
f7cb82e70a
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.
4 lines
251 B
Plaintext
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)
|