Skip to content

Commit b0df255

Browse files
committed
Update ui test suite to nightly-2021-07-20
1 parent b625b3f commit b0df255

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

tests/ui/derive_nonclone.stderr

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
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+
| ^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/unique_ptr_to_opaque.stderr

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@ error[E0271]: type mismatch resolving `<outside::C as ExternType>::Kind == Trivi
44
22 | cxx::UniquePtr::new(outside::C { a: 4 });
55
| ^^^^^^^^^^^^^^^^^^^ expected enum `Trivial`, found enum `cxx::kind::Opaque`
66
|
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+
| |______________________________________^

0 commit comments

Comments
 (0)