18 lines
468 B
Plaintext
18 lines
468 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:19
|
|
|
|
|
18 | #[pyo3(name = "bar")]
|
|
| ^^^^^
|
|
|
|
error: `name` not allowed with `#[new]`
|
|
--> tests/ui/invalid_pymethod_names.rs:24:19
|
|
|
|
|
24 | #[pyo3(name = "makenew")]
|
|
| ^^^^^^^^^
|