pyo3/tests/ui/invalid_pymethod_names.stderr

18 lines
440 B
Plaintext
Raw Normal View History

2019-12-18 14:26:25 +00:00
error: name not allowed with this attribute
--> $DIR/invalid_pymethod_names.rs:10:5
|
10 | #[name = "num"]
| ^^^^^^^^^^^^^^^
error: #[name] can not be specified multiple times
2019-12-18 14:26:25 +00:00
--> $DIR/invalid_pymethod_names.rs:17:5
|
2019-12-18 14:26:25 +00:00
17 | #[name = "foo"]
| ^^^^^^^^^^^^^^^
2019-12-18 14:26:25 +00:00
error: name not allowed with this attribute
--> $DIR/invalid_pymethod_names.rs:24:5
|
24 | #[name = "makenew"]
| ^^^^^^^^^^^^^^^^^^^