Skip to content

Commit 1e1697f

Browse files
nk9abonander
authored andcommitted
Change to cfg!(not()) (#3275)
1 parent e565123 commit 1e1697f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-macros-core/src/test_attr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub fn expand(args: TokenStream, input: syn::ItemFn) -> crate::Result<TokenStrea
3232

3333
if input.sig.inputs.is_empty() {
3434
if !args.is_empty() {
35-
if !cfg!(feature = "migrate") {
35+
if cfg!(not(feature = "migrate")) {
3636
return Err(syn::Error::new_spanned(
3737
args.first().unwrap(),
3838
"control attributes are not allowed unless \

0 commit comments

Comments
 (0)