2020-03-22 08:13:02 +00:00
|
|
|
use pyo3::prelude::*;
|
|
|
|
|
|
|
|
#[pyclass(extend=pyo3::types::PyDict)]
|
|
|
|
struct TypoIntheKey {}
|
|
|
|
|
|
|
|
#[pyclass(extends = "PyDict")]
|
|
|
|
struct InvalidExtends {}
|
|
|
|
|
|
|
|
#[pyclass(name = m::MyClass)]
|
|
|
|
struct InvalidName {}
|
|
|
|
|
|
|
|
#[pyclass(module = my_module)]
|
|
|
|
struct InvalidModule {}
|
|
|
|
|
2020-03-22 09:48:22 +00:00
|
|
|
#[pyclass(weakrev)]
|
|
|
|
struct InvalidArg {}
|
|
|
|
|
2020-03-22 08:13:02 +00:00
|
|
|
fn main() {}
|