2022-10-16 09:35:58 +00:00
|
|
|
error[E0277]: the trait bound `Blah: IntoPy<Py<PyAny>>` is not satisfied
|
|
|
|
--> tests/ui/missing_intopy.rs:3:1
|
|
|
|
|
|
|
|
|
3 | #[pyo3::pyfunction]
|
2024-03-22 20:43:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ the trait `IntoPy<Py<PyAny>>` is not implemented for `Blah`, which is required by `Blah: OkWrap<_>`
|
2022-10-16 09:35:58 +00:00
|
|
|
|
|
|
|
|
= help: the following other types implement trait `IntoPy<T>`:
|
2023-08-25 08:48:01 +00:00
|
|
|
<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>>>
|
2022-10-16 09:35:58 +00:00
|
|
|
and $N others
|
2022-11-04 04:29:23 +00:00
|
|
|
= note: required for `Blah` to implement `OkWrap<Blah>`
|
2022-10-16 09:35:58 +00:00
|
|
|
= note: this error originates in the attribute macro `pyo3::pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
|