mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
refactor(ast): remove defunct visit_as + visit_args attrs from #[ast] macro (#4599)
#4371 replaced `#[visit_as(...)]` and `#[visit_args(...)]` with `#[visit(as(...))]` and `#[visit(args(...))]`. Remove these defunct helper attributes from the `#[ast]` macro.
This commit is contained in:
parent
e0b03f85d6
commit
452e0eebb4
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ pub fn ast(_args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
///
|
||||
/// Does not generate any code.
|
||||
/// Only purpose is to allow using `#[scope]`, `#[visit]`, and other attrs in the AST node type defs.
|
||||
#[proc_macro_derive(Ast, attributes(span, scope, visit, visit_as, visit_args, serde, tsify))]
|
||||
#[proc_macro_derive(Ast, attributes(scope, visit, span, serde, tsify))]
|
||||
pub fn ast_derive(_item: TokenStream) -> TokenStream {
|
||||
TokenStream::new()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue