They are only used by rustc_lexer, and are not needed elsewhere. So we move the relevant definitions into rustc_lexer (while the actual unicode data comes from the unicode-xid crate) and make the rest of the compiler use it.
15 lines
425 B
Rust
15 lines
425 B
Rust
#![unstable(feature = "unicode_internals", issue = "0")]
|
|
#![allow(missing_docs)]
|
|
|
|
mod bool_trie;
|
|
pub(crate) mod printable;
|
|
pub(crate) mod tables;
|
|
pub(crate) mod version;
|
|
|
|
// For use in liballoc, not re-exported in libstd.
|
|
pub mod derived_property {
|
|
pub use crate::unicode::tables::derived_property::{Case_Ignorable, Cased};
|
|
}
|
|
pub mod conversions {
|
|
pub use crate::unicode::tables::conversions::{to_lower, to_upper};
|
|
}
|