ci: updates for rust 1.74
This commit is contained in:
parent
1e28ba7fd0
commit
29ad73b6d5
|
@ -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)))]
|
#[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)))]
|
#[cfg(all(py_sys_config = "Py_REF_DEBUG", not(Py_3_10)))]
|
||||||
|
|
|
@ -34,7 +34,7 @@ note: required because it's used within this closure
|
||||||
|
|
|
|
||||||
4 | py.allow_threads(|| { drop(py); });
|
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`
|
note: required by a bound in `pyo3::Python::<'py>::allow_threads`
|
||||||
--> src/marker.rs
|
--> src/marker.rs
|
||||||
|
|
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ note: required because it's used within this closure
|
||||||
|
|
|
|
||||||
8 | py.allow_threads(|| {
|
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`
|
note: required by a bound in `pyo3::Python::<'py>::allow_threads`
|
||||||
--> src/marker.rs
|
--> src/marker.rs
|
||||||
|
|
|
|
||||||
|
|
Loading…
Reference in a new issue