Skip to content

Commit

Permalink
Merge pull request #3579 from davidhewitt/rust-1.74
Browse files Browse the repository at this point in the history
ci: updates for rust 1.74
  • Loading branch information
davidhewitt committed Nov 16, 2023
2 parents 1e28ba7 + 29ad73b commit d89c388
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyo3-ffi/src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))]
Expand Down Expand Up @@ -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)))]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/not_send.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
|
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/not_send2.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
|
Expand Down

0 comments on commit d89c388

Please sign in to comment.