Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1711 from mejrs/macro
Add full path for PyCell
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
error[E0277]: the trait bound `i32: From<&pyo3::PyCell<MyClass>>` is not satisfied | ||
error[E0277]: the trait bound `i32: From<&PyCell<MyClass>>` is not satisfied | ||
--> $DIR/invalid_pymethod_receiver.rs:8:43 | ||
| | ||
8 | fn method_with_invalid_self_type(slf: i32, py: Python, index: u32) {} | ||
| ^^^ the trait `From<&pyo3::PyCell<MyClass>>` is not implemented for `i32` | ||
| ^^^ the trait `From<&PyCell<MyClass>>` is not implemented for `i32` | ||
| | ||
= help: the following implementations were found: | ||
<i32 as From<NonZeroI32>> | ||
<i32 as From<bool>> | ||
<i32 as From<i16>> | ||
<i32 as From<i8>> | ||
and 2 others | ||
= note: required because of the requirements on the impl of `Into<i32>` for `&pyo3::PyCell<MyClass>` | ||
= note: required because of the requirements on the impl of `TryFrom<&pyo3::PyCell<MyClass>>` for `i32` | ||
= note: required because of the requirements on the impl of `Into<i32>` for `&PyCell<MyClass>` | ||
= note: required because of the requirements on the impl of `TryFrom<&PyCell<MyClass>>` for `i32` | ||
= note: required by `std::convert::TryFrom::try_from` |
5715683
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'pyo3-bench'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.extract_hashset
14057981
ns/iter (± 798942
)6538796
ns/iter (± 113060
)2.15
This comment was automatically generated by workflow using github-action-benchmark.
CC: @PyO3/pyo3