mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +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:
1 parent
e0b03f85d6
commit
452e0eebb4
1 file changed
+1
-1
@@ -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()
|
||||
}
|
||||
Reference in new issue
Block a user