Skip to content

Commit 2c66281

Browse files
committed
ci: fix diagnostic case with abi3
1 parent 66ac6c7 commit 2c66281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl_/pyclass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ impl<T> PyClassThreadChecker<T> for ThreadCheckerImpl {
11161116
/// Trait denoting that this class is suitable to be used as a base type for PyClass.
11171117
11181118
#[cfg_attr(
1119-
all(diagnostic_namespace, feature = "abi3"),
1119+
all(diagnostic_namespace, Py_LIMITED_API),
11201120
diagnostic::on_unimplemented(
11211121
note = "with the `abi3` feature enabled, PyO3 does not support subclassing native types"
11221122
)

0 commit comments

Comments
 (0)