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:
parent
584fc6fe42
commit
82697bfec0
|
@ -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)
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue