fix(macros): fix checked = false being ignored

for arguments

Signed-off-by: Austin Bonander <austin@launchbadge.com>
This commit is contained in:
Austin Bonander
2020-07-23 19:53:08 -07:00
parent 67ad43491d
commit 4da66c9200

View File

@@ -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()