pyo3/tests/ui/missing_clone.stderr

8 lines
369 B
Plaintext
Raw Normal View History

2020-11-19 12:05:08 +00:00
error[E0277]: the trait bound `TestClass: Clone` is not satisfied
--> $DIR/missing_clone.rs:15:32
|
15 | let t: TestClass = pyvalue.extract(py).unwrap();
2020-11-19 12:05:08 +00:00
| ^^^^^^^ the trait `Clone` is not implemented for `TestClass`
|
2020-08-28 02:29:38 +00:00
= note: required because of the requirements on the impl of `pyo3::FromPyObject<'_>` for `TestClass`