Reorder attrs in sqlx::test macro (#3123)

This commit is contained in:
Bogdan Mircea 2024-03-28 05:20:41 +02:00 committed by GitHub
parent 59d5ba606e
commit 1f6642cafa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -164,8 +164,8 @@ fn expand_advanced(args: AttributeArgs, input: syn::ItemFn) -> crate::Result<Tok
};
Ok(quote! {
#[::core::prelude::v1::test]
#(#attrs)*
#[::core::prelude::v1::test]
fn #name() #ret {
async fn #name(#inputs) #ret {
#body