diff --git a/crates/oxc_transformer/src/decorator/legacy_decorator.rs b/crates/oxc_transformer/src/decorator/legacy_decorator.rs index f588cba81f2b87..0e47a2333b1183 100644 --- a/crates/oxc_transformer/src/decorator/legacy_decorator.rs +++ b/crates/oxc_transformer/src/decorator/legacy_decorator.rs @@ -588,7 +588,7 @@ impl<'a> LegacyDecorator<'a, '_> { } /// Transforms the decorators of the parameters of a class method. - #[allow(clippy::cast_precision_loss)] + #[expect(clippy::cast_precision_loss)] fn transform_decorators_of_parameters( &self, decorations: &mut ArenaVec<'a, ArrayExpressionElement<'a>>,