Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/oxc_traverse/scripts/lib/ancestor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export default function generateAncestorsCode(types) {
}

return `
#![allow(unused_imports)]
#![expect(
clippy::cast_ptr_alignment,
clippy::elidable_lifetime_names,
Expand All @@ -123,7 +122,7 @@ export default function generateAncestorsCode(types) {

use oxc_allocator::{Address, Box, GetAddress, Vec};
use oxc_ast::ast::*;
use oxc_syntax::{comment_node::CommentNodeId, scope::ScopeId};
use oxc_syntax::scope::ScopeId;

/// Type of [\`Ancestor\`].
/// Used in [\`crate::TraverseCtx::retag_stack\`].
Expand Down
3 changes: 1 addition & 2 deletions crates/oxc_traverse/src/generated/ancestor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Generated by `oxc_traverse/scripts/build.mjs`.
// To alter this generated file you have to edit the codegen.

#![allow(unused_imports)]
#![expect(
clippy::cast_ptr_alignment,
clippy::elidable_lifetime_names,
Expand All @@ -15,7 +14,7 @@ use std::{cell::Cell, marker::PhantomData, mem::offset_of};

use oxc_allocator::{Address, Box, GetAddress, Vec};
use oxc_ast::ast::*;
use oxc_syntax::{comment_node::CommentNodeId, scope::ScopeId};
use oxc_syntax::scope::ScopeId;

/// Type of [`Ancestor`].
/// Used in [`crate::TraverseCtx::retag_stack`].
Expand Down
Loading