Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

49 | impl<T: ToPyObject + ?Sized> ManagedPyRefDispatch for T {} | ------------------------------------------------------- parent impl is here ... 564 | fn drop_impl(_: &mut ManagedPyRef<T>) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot specialize default item drop_impl | = note: to specialize, drop_impl in the parent impl must be marked default For more information about this error, try rustc --explain E0520. error: could not compile pyo3 due to 89 previous errors; 13 warnings emitted #92

Open
lucasjinreal opened this issue Feb 5, 2023 · 0 comments

Comments

@lucasjinreal
Copy link

49 | impl<T: ToPyObject + ?Sized> ManagedPyRefDispatch for T {}
| ------------------------------------------------------- parent impl is here
...
564 | fn drop_impl(_: &mut ManagedPyRef) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot specialize default item drop_impl
|
= note: to specialize, drop_impl in the parent impl must be marked default

  For more information about this error, try `rustc --explain E0520`.
  error: could not compile `pyo3` due to 89 previous errors; 13 warnings emitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant