Skip to content

Commit 4c9bf81

Browse files
authored
Fix UI tests for Rust 1.96 (#6080)
1 parent 8d66d57 commit 4c9bf81

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/ui/invalid_pyclass_init.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ error[E0277]: the trait bound `i32: pyo3::impl_::callback::IntoPyCallbackOutput<
44
8 | 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>`

0 commit comments

Comments
 (0)