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
| ^^^^^^^^^^^^^^ required by this bound in `PyRefMut`
30
-
= note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
41
+
= note: this error originates in the attribute macro `pymethods` which comes from the expansion of the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
31
42
32
43
error[E0271]: type mismatch resolving `<Foo as PyClass>::Frozen == False`
| ^^^^^^^^^^^^^^ required by this bound in `PyRefMut`
24
-
= note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
35
+
= note: this error originates in the attribute macro `pymethods` which comes from the expansion of the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
25
36
26
37
error[E0271]: type mismatch resolving `<TupleEnum as PyClass>::Frozen == False`
27
38
--> tests/ui/invalid_pymethod_enum.rs:27:24
28
39
|
29
40
27 | fn mutate_in_place(&mut self) {
30
-
| ^ expected `False`, found `True`
41
+
| ^ type mismatch resolving `<TupleEnum as PyClass>::Frozen == False`
31
42
|
43
+
note: expected this to be `False`
44
+
--> tests/ui/invalid_pymethod_enum.rs:19:1
45
+
|
46
+
19 | #[pyclass]
47
+
| ^^^^^^^^^^
32
48
note: required by a bound in `extract_pyclass_ref_mut`
| ^^^^^^^^^^^^^^ required by this bound in `PyRefMut`
49
-
= note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
71
+
= note: this error originates in the attribute macro `pymethods` which comes from the expansion of the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments