pyo3/tests/ui/deprecations.rs

10 lines
117 B
Rust

#![deny(deprecated)]
use pyo3::prelude::*;
#[pyclass]
#[pyo3(text_signature = "()")]
struct MyClass;
fn main() {}