ci: updates for rust 1.74

This commit is contained in:
David Hewitt 2023-11-16 16:06:01 +00:00
parent 1e28ba7fd0
commit 29ad73b6d5
3 changed files with 4 additions and 4 deletions

View file

@ -487,7 +487,7 @@ pub unsafe fn Py_INCREF(op: *mut PyObject) {
)
))]
{
return _Py_IncRef(op);
_Py_IncRef(op);
}
#[cfg(all(py_sys_config = "Py_REF_DEBUG", not(Py_3_10)))]
@ -552,7 +552,7 @@ pub unsafe fn Py_DECREF(op: *mut PyObject) {
)
))]
{
return _Py_DecRef(op);
_Py_DecRef(op);
}
#[cfg(all(py_sys_config = "Py_REF_DEBUG", not(Py_3_10)))]

View file

@ -34,7 +34,7 @@ note: required because it's used within this closure
|
4 | py.allow_threads(|| { drop(py); });
| ^^
= note: required for `[closure@$DIR/tests/ui/not_send.rs:4:22: 4:24]` to implement `Ungil`
= note: required for `{closure@$DIR/tests/ui/not_send.rs:4:22: 4:24}` to implement `Ungil`
note: required by a bound in `pyo3::Python::<'py>::allow_threads`
--> src/marker.rs
|

View file

@ -27,7 +27,7 @@ note: required because it's used within this closure
|
8 | py.allow_threads(|| {
| ^^
= note: required for `[closure@$DIR/tests/ui/not_send2.rs:8:26: 8:28]` to implement `Ungil`
= note: required for `{closure@$DIR/tests/ui/not_send2.rs:8:26: 8:28}` to implement `Ungil`
note: required by a bound in `pyo3::Python::<'py>::allow_threads`
--> src/marker.rs
|