Skip to content

Commit 1f6642c

Browse files
authored
Reorder attrs in sqlx::test macro (#3123)
1 parent 59d5ba6 commit 1f6642c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-macros-core/src/test_attr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ fn expand_advanced(args: AttributeArgs, input: syn::ItemFn) -> crate::Result<Tok
164164
};
165165

166166
Ok(quote! {
167-
#[::core::prelude::v1::test]
168167
#(#attrs)*
168+
#[::core::prelude::v1::test]
169169
fn #name() #ret {
170170
async fn #name(#inputs) #ret {
171171
#body

0 commit comments

Comments
 (0)