PyO3 wrap_pyfunction! error

#[pymodule]
fn rustgo(_py: Python, m: &PyModule) -> PyResult<()> {
    m.add_function(wrap_pyfunction!(calcbinome, m)?)?;

    Ok(())
}

I get unresolved macro `proc_macro_call! error even though I do just as the documentation says

If the code compiles, then this is probably this issue or something similar.

Yeah, it compiles

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.