Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/src/parser.rs')
| -rw-r--r-- | crates/parser/src/parser.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/crates/parser/src/parser.rs b/crates/parser/src/parser.rs index f48073701e..5b901f911d 100644 --- a/crates/parser/src/parser.rs +++ b/crates/parser/src/parser.rs @@ -8,6 +8,7 @@ use limit::Limit; use crate::{ event::Event, input::Input, + Edition, SyntaxKind::{self, EOF, ERROR, TOMBSTONE}, TokenSet, T, }; @@ -29,13 +30,6 @@ pub(crate) struct Parser<'t> { _edition: Edition, } -#[non_exhaustive] -pub enum Edition { - Edition2015, - Edition2018, - Edition2021, -} - static PARSER_STEP_LIMIT: Limit = Limit::new(15_000_000); impl<'t> Parser<'t> { |