You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0411]: cannot find type `Self` in this scope=================> ] 35/36: ...
--> src/lib.rs:14:34
|
14 | fn takes_self(&self, other: &Self) { }
| ^^^^ `Self` is only available in impls, traits, and type definitions
This was originally reported in #791 (comment), which also identifies possible guilty line.
The text was updated successfully, but these errors were encountered:
This snippet used to work on pyo3
0.8
:With
0.11.1
it fails with:This was originally reported in #791 (comment), which also identifies possible guilty line.
The text was updated successfully, but these errors were encountered: