File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ fn test_compile_errors() {
7979 t. pass ( "tests/ui/pymodule_missing_docs.rs" ) ;
8080 #[ cfg( not( any( Py_LIMITED_API , feature = "experimental-inspect" ) ) ) ]
8181 t. pass ( "tests/ui/forbid_unsafe.rs" ) ;
82- #[ cfg( all( Py_LIMITED_API , not( Py_3_12 ) , not ( feature = "experimental-async" ) ) ) ]
82+ #[ cfg( all( Py_LIMITED_API , not( Py_3_12 ) , feature = "experimental-async" ) ) ]
8383 // output changes with async feature
8484 t. compile_fail ( "tests/ui/abi3_inheritance.rs" ) ;
8585 #[ cfg( all( Py_LIMITED_API , not( Py_3_9 ) ) ) ]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ error[E0277]: pyclass `PyException` cannot be subclassed
66 |
77 = help: the trait `PyClassBaseType` is not implemented for `PyException`
88 = note: `PyException` must have `#[pyclass(subclass)]` to be eligible for subclassing
9- = note: with the `abi3` feature enabled, PyO3 does not support subclassing native types
9+ = note: subclassing native types requires Python >= 3.12 when using the `abi3` feature
1010help: the trait `PyClassBaseType` is implemented for `PyAny`
1111 --> src/types/any.rs
1212 |
@@ -22,7 +22,7 @@ error[E0277]: pyclass `PyException` cannot be subclassed
2222 |
2323 = help: the trait `PyClassBaseType` is not implemented for `PyException`
2424 = note: `PyException` must have `#[pyclass(subclass)]` to be eligible for subclassing
25- = note: with the `abi3` feature enabled, PyO3 does not support subclassing native types
25+ = note: "subclassing native types requires Python >= 3.12 when using the `abi3` feature",
2626help: the trait `PyClassBaseType` is implemented for `PyAny`
2727 --> src/types/any.rs
2828 |
You can’t perform that action at this time.
0 commit comments