pyo3/tests/ui/get_set_all.stderr

24 lines
647 B
Plaintext
Raw Permalink Normal View History

2022-10-17 00:37:43 +00:00
error: `set_all` on an unit struct does nothing, because unit structs have no fields
--> tests/ui/get_set_all.rs:3:11
|
3 | #[pyclass(set_all)]
| ^^^^^^^
2022-10-18 19:14:22 +00:00
error: useless `set` - the struct is already annotated with `set_all`
--> tests/ui/get_set_all.rs:8:12
2022-10-17 00:37:43 +00:00
|
2022-10-18 19:14:22 +00:00
8 | #[pyo3(set)]
| ^^^
2022-10-17 00:37:43 +00:00
error: `get_all` on an unit struct does nothing, because unit structs have no fields
--> tests/ui/get_set_all.rs:12:11
|
12 | #[pyclass(get_all)]
| ^^^^^^^
2022-10-18 19:14:22 +00:00
error: useless `get` - the struct is already annotated with `get_all`
--> tests/ui/get_set_all.rs:17:12
2022-10-17 00:37:43 +00:00
|
2022-10-18 19:14:22 +00:00
17 | #[pyo3(get)]
| ^^^