workaround an issue that causes function arguments to show up as if they are uncovered

https://github.com/rust-lang/rust/issues/86972 describes this issue in some detail and links to a minimal reproducer

making this change, and this change alone, resolves the coverage issues
This commit is contained in:
Alex Gaynor 2021-07-14 23:38:08 -04:00 committed by GitHub
parent 584fc6fe42
commit 82697bfec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ fn impl_arg_param(
let ty = arg.ty;
let name = arg.name;
let transform_error = quote_arg_span! {
let transform_error = quote! {
|e| pyo3::derive_utils::argument_extraction_error(#py, stringify!(#name), e)
};