Reexport literal-escaper
from rustc_lexer
to allow rust-analyzer to compile
This commit is contained in:
parent
615a9cd10a
commit
94f0f2b603
3 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@ Rust lexer used by rustc. No stability guarantees are provided.
|
|||
[dependencies]
|
||||
memchr = "2.7.4"
|
||||
unicode-xid = "0.2.0"
|
||||
literal-escaper = { path = "../../library/literal-escaper" }
|
||||
|
||||
[dependencies.unicode-properties]
|
||||
version = "0.1.0"
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue