pyo3/tests/ui/invalid_pymodule_trait.rs

10 lines
104 B
Rust

use pyo3::prelude::*;
#[pymodule]
mod module {
#[pymodule_export]
trait Foo {}
}
fn main() {}