File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
error[E0277]: the trait bound `ffi::Other: Clone` is not satisfied
2
- --> $DIR/derive_nonclone.rs:5:9
3
- |
4
- 5 | other: Other,
5
- | ^^^^^^^^^^^^ the trait `Clone` is not implemented for `ffi::Other`
6
- |
7
- = note: required by `clone`
2
+ --> $DIR/derive_nonclone.rs:5:9
3
+ |
4
+ 5 | other: Other,
5
+ | ^^^^^^^^^^^^ the trait `Clone` is not implemented for `ffi::Other`
6
+ |
7
+ note: required by `clone`
8
+ --> $DIR/clone.rs:121:5
9
+ |
10
+ 121 | fn clone(&self) -> Self;
11
+ | ^^^^^^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -4,4 +4,10 @@ error[E0271]: type mismatch resolving `<outside::C as ExternType>::Kind == Trivi
4
4
22 | cxx::UniquePtr::new(outside::C { a: 4 });
5
5
| ^^^^^^^^^^^^^^^^^^^ expected enum `Trivial`, found enum `cxx::kind::Opaque`
6
6
|
7
- = note: required by `UniquePtr::<T>::new`
7
+ note: required by `UniquePtr::<T>::new`
8
+ --> $DIR/unique_ptr.rs:38:5
9
+ |
10
+ 38 | / pub fn new(value: T) -> Self
11
+ 39 | | where
12
+ 40 | | T: ExternType<Kind = Trivial>,
13
+ | |______________________________________^
You can’t perform that action at this time.
0 commit comments