refactor(ast): remove #[non_exhaustive] attr from AstBuilder (#5130)

Partially revert #4925. That PR's description gave no explanation of why this attribute is desirable.
This commit is contained in:
overlookmotel 2024-08-23 23:04:27 +00:00
parent 2fe44153ac
commit f63b568c48
2 changed files with 0 additions and 2 deletions

View file

@ -14,7 +14,6 @@ use crate::ast::*;
/// AST builder for creating AST nodes
#[derive(Clone, Copy)]
#[non_exhaustive]
pub struct AstBuilder<'a> {
pub allocator: &'a Allocator,
}

View file

@ -57,7 +57,6 @@ impl Generator for AstBuilderGenerator {
///@@line_break
/// AST builder for creating AST nodes
#[derive(Clone, Copy)]
#[non_exhaustive]
pub struct AstBuilder<'a> {
pub allocator: &'a Allocator,
}