pyo3/tests/ui/invalid_pymethod_names.stderr
2021-05-07 22:35:52 +01:00

18 lines
456 B
Plaintext

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