File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ error[E0277]: the trait bound `i32: pyo3::impl_::callback::IntoPyCallbackOutput<
448 | fn __init__(&self) -> i32 {
55 | ^^^ the trait `pyo3::impl_::callback::IntoPyCallbackOutput<'_, i32>` is not implemented for `i32`
66 |
7- help: the following other types implement trait `pyo3::impl_::callback::IntoPyCallbackOutput<'py, Target>`
7+ help: `usize` implements trait `pyo3::impl_::callback::IntoPyCallbackOutput<'py, Target>`
88 --> src/impl_/callback.rs
99 |
1010 | impl IntoPyCallbackOutput<'_, ffi::Py_ssize_t> for usize {
11- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `usize` implements ` pyo3::impl_::callback::IntoPyCallbackOutput<'_, isize>`
11+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `pyo3::impl_::callback::IntoPyCallbackOutput<'_, isize>`
1212...
1313 | impl IntoPyCallbackOutput<'_, usize> for usize {
14- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `usize` implements ` pyo3::impl_::callback::IntoPyCallbackOutput<'_, usize>`
14+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `pyo3::impl_::callback::IntoPyCallbackOutput<'_, usize>`
You can’t perform that action at this time.
0 commit comments