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[E0592]: duplicate definitions with name `__pymethod___richcmp____`
26
+
--> tests/ui/invalid_proto_pymethods.rs:55:1
27
+
|
28
+
55 | #[pymethods]
29
+
| ^^^^^^^^^^^^
30
+
| |
31
+
| duplicate definitions for `__pymethod___richcmp____`
32
+
| other definition for `__pymethod___richcmp____`
33
+
|
34
+
= note: this error originates in the macro `::pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` which comes from the expansion of the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
35
+
25
36
error[E0034]: multiple applicable items in scope
26
37
--> tests/ui/invalid_proto_pymethods.rs:55:1
27
38
|
@@ -40,17 +51,6 @@ note: candidate #2 is defined in an impl for the type `EqAndRichcmp`
40
51
| ^^^^^^^^^^^^
41
52
= note: this error originates in the macro `::pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` which comes from the expansion of the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
42
53
43
-
error[E0592]: duplicate definitions with name `__pymethod___richcmp____`
44
-
--> tests/ui/invalid_proto_pymethods.rs:55:1
45
-
|
46
-
55 | #[pymethods]
47
-
| ^^^^^^^^^^^^
48
-
| |
49
-
| duplicate definitions for `__pymethod___richcmp____`
50
-
| other definition for `__pymethod___richcmp____`
51
-
|
52
-
= note: this error originates in the macro `::pyo3::impl_::pyclass::generate_pyclass_richcompare_slot` which comes from the expansion of the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments