mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-17 18:04:37 +00:00
fix(macros): fix checked = false being ignored
for arguments Signed-off-by: Austin Bonander <austin@launchbadge.com>
This commit is contained in:
@@ -38,6 +38,11 @@ pub fn quote_args<DB: DatabaseExt>(
|
||||
TokenStream::new()
|
||||
}
|
||||
|
||||
Some(Either::Left(_)) if !input.checked => {
|
||||
// this is an `*_unchecked!()` macro invocation
|
||||
TokenStream::new()
|
||||
}
|
||||
|
||||
Some(Either::Left(params)) => {
|
||||
params
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user