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: macros cannot be used as items in `#[pymethods]` impl blocks
170
170
= note: this was previously accepted and ignored
171
-
--> tests/ui/invalid_pymethods.rs:212:5
171
+
--> tests/ui/invalid_pymethods.rs:207:5
172
172
|
173
173
207 | macro_invocation!();
174
174
| ^^^^^^^^^^^^^^^^
175
175
176
176
error[E0119]: conflicting implementations of trait `pyo3::impl_::pyclass::PyClassNewTextSignature<TwoNew>` for type `pyo3::impl_::pyclass::PyClassImplCollector<TwoNew>`
177
-
--> tests/ui/invalid_pymethods.rs:182:1
177
+
--> tests/ui/invalid_pymethods.rs:177:1
178
178
|
179
179
177 | #[pymethods]
180
180
| ^^^^^^^^^^^^
@@ -185,7 +185,7 @@ error[E0119]: conflicting implementations of trait `pyo3::impl_::pyclass::PyClas
185
185
= note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
186
186
187
187
error[E0592]: duplicate definitions with name `__pymethod___new____`
188
-
--> tests/ui/invalid_pymethods.rs:182:1
188
+
--> tests/ui/invalid_pymethods.rs:177:1
189
189
|
190
190
177 | #[pymethods]
191
191
| ^^^^^^^^^^^^
@@ -196,7 +196,7 @@ error[E0592]: duplicate definitions with name `__pymethod___new____`
196
196
= note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
197
197
198
198
error[E0592]: duplicate definitions with name `__pymethod_func__`
0 commit comments