d0f5b6af46
* ci: updates for Rust 1.77 * move `SendablePtr` inside of test which uses it
19 lines
865 B
Plaintext
19 lines
865 B
Plaintext
error[E0277]: the trait bound `Blah: IntoPy<Py<PyAny>>` is not satisfied
|
|
--> tests/ui/missing_intopy.rs:3:1
|
|
|
|
|
3 | #[pyo3::pyfunction]
|
|
| ^^^^^^^^^^^^^^^^^^^ the trait `IntoPy<Py<PyAny>>` is not implemented for `Blah`, which is required by `Blah: OkWrap<_>`
|
|
|
|
|
= help: the following other types implement trait `IntoPy<T>`:
|
|
<bool as IntoPy<Py<PyAny>>>
|
|
<char as IntoPy<Py<PyAny>>>
|
|
<isize as IntoPy<Py<PyAny>>>
|
|
<i8 as IntoPy<Py<PyAny>>>
|
|
<i16 as IntoPy<Py<PyAny>>>
|
|
<i32 as IntoPy<Py<PyAny>>>
|
|
<i64 as IntoPy<Py<PyAny>>>
|
|
<i128 as IntoPy<Py<PyAny>>>
|
|
and $N others
|
|
= note: required for `Blah` to implement `OkWrap<Blah>`
|
|
= note: this error originates in the attribute macro `pyo3::pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
|