pyo3/tests/ui/invalid_pyclass_item.stderr

6 lines
129 B
Plaintext
Raw Normal View History

error: #[pyclass] only supports structs and enums.
--> tests/ui/invalid_pyclass_item.rs:4:1
|
4 | fn foo() {}
| ^^^^^^^^^^^