cannot find value py in this scope
when deriving FromPyObject
on struct
#2397
Labels
cannot find value py in this scope
when deriving FromPyObject
on struct
#2397
Bug Description
There seems to be a missing
let py = _pyo3::PyNativeType::py(obj);
in the generated code when trying to usefrom_py_with
(note that the problem does not appear when using anitem
, which explains why the tests pass despite this bug). Seecargo expand
output.Steps to Reproduce
Generated code:
Backtrace
The text was updated successfully, but these errors were encountered: