-
Notifications
You must be signed in to change notification settings - Fork 783
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
870a4bb
commit 14b06dd
Showing
10 changed files
with
31 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
error[E0277]: the trait bound `PyDict: PyClass` is not satisfied | ||
--> tests/ui/abi3_nativetype_inheritance.rs:5:1 | ||
--> tests/ui/abi3_nativetype_inheritance.rs:5:19 | ||
| | ||
5 | #[pyclass(extends=PyDict)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PyClass` is not implemented for `PyDict` | ||
| ^^^^^^ the trait `PyClass` is not implemented for `PyDict`, which is required by `PyDict: PyClassBaseType` | ||
| | ||
= help: the following other types implement trait `PyClass`: | ||
TestClass | ||
pyo3::coroutine::Coroutine | ||
= note: required for `PyDict` to implement `PyClassBaseType` | ||
= note: this error originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
note: required by a bound in `PyClassImpl::BaseType` | ||
--> src/impl_/pyclass.rs | ||
| | ||
| type BaseType: PyTypeInfo + PyClassBaseType; | ||
| ^^^^^^^^^^^^^^^ required by this bound in `PyClassImpl::BaseType` | ||
|
||
error[E0277]: the trait bound `PyDict: PyClass` is not satisfied | ||
--> tests/ui/abi3_nativetype_inheritance.rs:5:19 | ||
--> tests/ui/abi3_nativetype_inheritance.rs:5:1 | ||
| | ||
5 | #[pyclass(extends=PyDict)] | ||
| ^^^^^^ the trait `PyClass` is not implemented for `PyDict` | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PyClass` is not implemented for `PyDict`, which is required by `PyDict: PyClassBaseType` | ||
| | ||
= help: the following other types implement trait `PyClass`: | ||
TestClass | ||
pyo3::coroutine::Coroutine | ||
= note: required for `PyDict` to implement `PyClassBaseType` | ||
note: required by a bound in `PyClassImpl::BaseType` | ||
--> src/impl_/pyclass.rs | ||
| | ||
| type BaseType: PyTypeInfo + PyClassBaseType; | ||
| ^^^^^^^^^^^^^^^ required by this bound in `PyClassImpl::BaseType` | ||
= note: this error originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) |
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
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
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
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
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