-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Using character class in regex! macro produces numerous warnings on deprecation of \uABCD #19879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
BenTheElder
referenced
this issue
in websockets-rs/rust-websocket
Dec 15, 2014
Keep the compiler happy - need to figure out where the \U00ABCD12 and \uABCD warnings are coming from
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 16, 2014
This changes the `escape_unicode` method on a `char` to use the new style of unicode escapes in the language. Closes rust-lang#19811 Closes rust-lang#19879
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 17, 2014
This changes the `escape_unicode` method on a `char` to use the new style of unicode escapes in the language. Closes rust-lang#19811 Closes rust-lang#19879
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
May 28, 2025
fix: Fix IDE layer not resolving some macro calls
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
May 28, 2025
fix: Fix IDE layer not resolving some macro calls
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this case
libunicode::regex::PERLD
which is essentiallyNd_table
is expanded into a sequence of old style Unicode literals\u0660
etc and produce numerous warnings like above.When we focus on the latter half of the warnings, we notice they come from
fn match_class()
inlibregex_macros
:So, this problem is probably because the
quote_expr!
built-in macro outputs old style Unicode literals (or, some internal data structures indistinguishable from them?)The text was updated successfully, but these errors were encountered: