pyo3/tests/ui/invalid_pymethod_names.stderr
2022-03-20 08:24:09 +00:00

18 lines
460 B
Plaintext

error: `name` may only be specified once
--> tests/ui/invalid_pymethod_names.rs:10:19
|
10 | #[pyo3(name = "num")]
| ^^^^^
error: `name` may only be specified once
--> tests/ui/invalid_pymethod_names.rs:18:12
|
18 | #[pyo3(name = "bar")]
| ^^^^
error: `name` not allowed with `#[new]`
--> tests/ui/invalid_pymethod_names.rs:24:19
|
24 | #[pyo3(name = "makenew")]
| ^^^^^^^^^