Reexport literal-escaper from rustc_lexer to allow rust-analyzer to compile

This commit is contained in:
Guillaume Gomez
2025-01-31 23:42:09 +01:00
parent 615a9cd10a
commit 94f0f2b603
3 changed files with 5 additions and 0 deletions

View File

@@ -31,6 +31,9 @@ mod cursor;
#[cfg(test)]
mod tests;
// FIXME: This is needed for rust-analyzer. Remove this dependency once rust-analyzer uses
// `literal-escaper`.
pub use literal_escaper as unescape;
use unicode_properties::UnicodeEmoji;
pub use unicode_xid::UNICODE_VERSION as UNICODE_XID_VERSION;