1 2 3 4 5
error: `pyfunction_args` applies only to `#[py_compat_fn]` and function items passed to `#[py_compat]` --> tests/ui/fail/pyfunction_args_on_struct.rs:3:20 | 3 | #[py_compat_struct(pyfunction_args(name = "bad"))] | ^^^^^^^^^^^^^^^