Deduplicate Edition enum

This commit is contained in:
Lukas Wirth 2024-04-14 15:29:01 +02:00
parent e7852803c5
commit 9c75e9fa7d
8 changed files with 65 additions and 62 deletions

View file

@ -26,6 +26,7 @@ extern crate ra_ap_rustc_lexer as rustc_lexer;
#[cfg(feature = "in-rust-tree")]
extern crate rustc_lexer;
mod edition;
mod event;
mod grammar;
mod input;
@ -42,10 +43,10 @@ mod tests;
pub(crate) use token_set::TokenSet;
pub use crate::{
edition::Edition,
input::Input,
lexed_str::LexedStr,
output::{Output, Step},
parser::Edition,
shortcuts::StrStep,
syntax_kind::SyntaxKind,
};