diff --git a/sqlx-macros/src/query/mod.rs b/sqlx-macros/src/query/mod.rs index 990a96b2..36a013fd 100644 --- a/sqlx-macros/src/query/mod.rs +++ b/sqlx-macros/src/query/mod.rs @@ -273,13 +273,13 @@ where let ret_tokens = quote! { #[allow(clippy::all)] - { + {{ use sqlx::Arguments as _; #args_tokens #output - } + }} }; // Store query metadata only if offline support is enabled but the current build is online.