Skip to content

Commit

Permalink
ci: fix diagnostic case with abi3
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Sep 15, 2024
1 parent 66ac6c7 commit 2c66281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl_/pyclass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ impl<T> PyClassThreadChecker<T> for ThreadCheckerImpl {
/// Trait denoting that this class is suitable to be used as a base type for PyClass.

#[cfg_attr(
all(diagnostic_namespace, feature = "abi3"),
all(diagnostic_namespace, Py_LIMITED_API),
diagnostic::on_unimplemented(
note = "with the `abi3` feature enabled, PyO3 does not support subclassing native types"
)
Expand Down

0 comments on commit 2c66281

Please sign in to comment.