12 lines
541 B
Plaintext
12 lines
541 B
Plaintext
error[E0271]: type mismatch resolving `<ComplexEnum as PyClass>::Frozen == False`
|
|
--> tests/ui/invalid_pymethod_enum.rs:11:24
|
|
|
|
|
11 | fn mutate_in_place(&mut self) {
|
|
| ^ expected `False`, found `True`
|
|
|
|
|
note: required by a bound in `extract_pyclass_ref_mut`
|
|
--> src/impl_/extract_argument.rs
|
|
|
|
|
| pub fn extract_pyclass_ref_mut<'a, 'py: 'a, T: PyClass<Frozen = False>>(
|
|
| ^^^^^^^^^^^^^^ required by this bound in `extract_pyclass_ref_mut`
|