diff --git a/tests/ui/abi3_inheritance.stderr b/tests/ui/abi3_inheritance.stderr index 756df2eb75e..c3bb951a106 100644 --- a/tests/ui/abi3_inheritance.stderr +++ b/tests/ui/abi3_inheritance.stderr @@ -5,7 +5,7 @@ error[E0277]: the trait bound `PyException: PyClassBaseType` is not satisfied | ^^^^^^^^^^^ the trait `PyClass` is not implemented for `PyException`, which is required by `PyException: PyClassBaseType` | = note: with the `abi3` feature enabled, PyO3 does not support subclassing native types - = help: the trait `PyClassBaseType` is implemented for `PyAny` + = help: the trait `PyClass` is implemented for `MyException` = note: required for `PyException` to implement `PyClassBaseType` note: required by a bound in `PyClassImpl::BaseType` --> src/impl_/pyclass.rs