mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
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:
parent
2fe44153ac
commit
f63b568c48
2 changed files with 0 additions and 2 deletions
|
|
@ -14,7 +14,6 @@ use crate::ast::*;
|
||||||
|
|
||||||
/// AST builder for creating AST nodes
|
/// AST builder for creating AST nodes
|
||||||
#[derive(Clone, Copy)]
|
#[derive(Clone, Copy)]
|
||||||
#[non_exhaustive]
|
|
||||||
pub struct AstBuilder<'a> {
|
pub struct AstBuilder<'a> {
|
||||||
pub allocator: &'a Allocator,
|
pub allocator: &'a Allocator,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,6 @@ impl Generator for AstBuilderGenerator {
|
||||||
///@@line_break
|
///@@line_break
|
||||||
/// AST builder for creating AST nodes
|
/// AST builder for creating AST nodes
|
||||||
#[derive(Clone, Copy)]
|
#[derive(Clone, Copy)]
|
||||||
#[non_exhaustive]
|
|
||||||
pub struct AstBuilder<'a> {
|
pub struct AstBuilder<'a> {
|
||||||
pub allocator: &'a Allocator,
|
pub allocator: &'a Allocator,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue