pyo3/tests/ui/reject_generics.rs

14 lines
152 B
Rust
Raw Normal View History

use pyo3::prelude::*;
#[pyclass]
struct ClassWithGenerics<A> {
a: A,
}
#[pyclass]
struct ClassWithLifetimes<'a> {
a: &'a str,
}
fn main() {}