pyo3/tests/ui/invalid_pymodule_glob.rs

17 lines
175 B
Rust

#![allow(unused_imports)]
use pyo3::prelude::*;
#[pyfunction]
fn foo() -> usize {
0
}
#[pymodule]
mod module {
#[pymodule_export]
use super::*;
}
fn main() {}