diff --git a/crates/oxc_transformer/src/es2022/class_properties/utils.rs b/crates/oxc_transformer/src/es2022/class_properties/utils.rs index 923a5af3a3d96..082472d397ffd 100644 --- a/crates/oxc_transformer/src/es2022/class_properties/utils.rs +++ b/crates/oxc_transformer/src/es2022/class_properties/utils.rs @@ -56,7 +56,9 @@ pub(super) fn create_underscore_ident_name<'a>(ctx: &mut TraverseCtx<'a>) -> Ide ctx.ast.identifier_name(SPAN, Atom::from("_")) } -#[inline] +// `#[inline(always)]` because this is a no-op in release mode +#[expect(clippy::inline_always)] +#[inline(always)] pub(super) fn assert_expr_neither_parenthesis_nor_typescript_syntax( expr: &Expression, path: &PathBuf,