b7419b5278
There's no functionality since it does not generate __richcmp__. Also it only works on enums with only variants, and does not support C-like enums.
6 lines
129 B
Plaintext
6 lines
129 B
Plaintext
error: #[pyclass] only supports structs and enums.
|
|
--> tests/ui/invalid_pyclass_item.rs:4:1
|
|
|
|
|
4 | fn foo() {}
|
|
| ^^^^^^^^^^^
|