File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ fn _test_compile_errors() {
3030
3131 #[ rustversion:: since( 1.48 ) ]
3232 fn tests_rust_1_48 ( t : & trybuild:: TestCases ) {
33- t. compile_fail ( "tests/ui/missing_clone.rs" ) ;
3433 t. compile_fail ( "tests/ui/wrong_aspyref_lifetimes.rs" ) ;
3534 }
3635 #[ rustversion:: before( 1.48 ) ]
@@ -68,6 +67,7 @@ fn _test_compile_errors() {
6867 t. compile_fail ( "tests/ui/invalid_pymethod_receiver.rs" ) ;
6968 t. compile_fail ( "tests/ui/invalid_argument_attributes.rs" ) ;
7069 t. compile_fail ( "tests/ui/invalid_frompy_derive.rs" ) ;
70+ t. compile_fail ( "tests/ui/missing_clone.rs" ) ;
7171 }
7272
7373 #[ rustversion:: before( 1.60 ) ]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ error[E0277]: the trait bound `TestClass: Clone` is not satisfied
66 |
77 = note: required because of the requirements on the impl of `pyo3::FromPyObject<'_>` for `TestClass`
88note: required by a bound in `pyo3::Py::<T>::extract`
9- --> src/instance.rs:518:12
9+ --> src/instance.rs
1010 |
11- 518 | D: FromPyObject<'p>,
11+ | D: FromPyObject<'p>,
1212 | ^^^^^^^^^^^^^^^^ required by this bound in `pyo3::Py::<T>::extract`
You can’t perform that action at this time.
0 commit comments