Skip to content

Commit 09981f5

Browse files
committed
Update ui test suite to nightly-2024-10-30
1 parent 9695632 commit 09981f5

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tests/ui/opaque_autotraits.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0277]: `*const cxx::void` cannot be sent between threads safely
44
13 | assert_send::<ffi::Opaque>();
55
| ^^^^^^^^^^^ `*const cxx::void` cannot be sent between threads safely
66
|
7-
= help: within `ffi::Opaque`, the trait `Send` is not implemented for `*const cxx::void`, which is required by `ffi::Opaque: Send`
7+
= help: within `ffi::Opaque`, the trait `Send` is not implemented for `*const cxx::void`
88
= note: required because it appears within the type `[*const cxx::void; 0]`
99
note: required because it appears within the type `cxx::private::Opaque`
1010
--> src/opaque.rs
@@ -28,7 +28,7 @@ error[E0277]: `*const cxx::void` cannot be shared between threads safely
2828
14 | assert_sync::<ffi::Opaque>();
2929
| ^^^^^^^^^^^ `*const cxx::void` cannot be shared between threads safely
3030
|
31-
= help: within `ffi::Opaque`, the trait `Sync` is not implemented for `*const cxx::void`, which is required by `ffi::Opaque: Sync`
31+
= help: within `ffi::Opaque`, the trait `Sync` is not implemented for `*const cxx::void`
3232
= note: required because it appears within the type `[*const cxx::void; 0]`
3333
note: required because it appears within the type `cxx::private::Opaque`
3434
--> src/opaque.rs
@@ -50,7 +50,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
5050
--> tests/ui/opaque_autotraits.rs:15:20
5151
|
5252
15 | assert_unpin::<ffi::Opaque>();
53-
| ^^^^^^^^^^^ within `ffi::Opaque`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `ffi::Opaque: Unpin`
53+
| ^^^^^^^^^^^ within `ffi::Opaque`, the trait `Unpin` is not implemented for `PhantomPinned`
5454
|
5555
= note: consider using the `pin!` macro
5656
consider using `Box::pin` if you need to access the pinned value outside of the current scope

tests/ui/opaque_not_sized.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0277]: the size for values of type `str` cannot be known at compilation t
44
4 | type TypeR;
55
| ^^^^^ doesn't have a size known at compile-time
66
|
7-
= help: within `TypeR`, the trait `Sized` is not implemented for `str`, which is required by `TypeR: Sized`
7+
= help: within `TypeR`, the trait `Sized` is not implemented for `str`
88
note: required because it appears within the type `TypeR`
99
--> tests/ui/opaque_not_sized.rs:8:8
1010
|

tests/ui/rust_pinned.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
22
--> tests/ui/rust_pinned.rs:6:14
33
|
44
6 | type Pinned;
5-
| ^^^^^^ within `Pinned`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `Pinned: Unpin`
5+
| ^^^^^^ within `Pinned`, the trait `Unpin` is not implemented for `PhantomPinned`
66
|
77
= note: consider using the `pin!` macro
88
consider using `Box::pin` if you need to access the pinned value outside of the current scope

tests/ui/vector_autotraits.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0277]: `*const cxx::void` cannot be sent between threads safely
44
20 | assert_send::<CxxVector<ffi::NotThreadSafe>>();
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const cxx::void` cannot be sent between threads safely
66
|
7-
= help: within `CxxVector<NotThreadSafe>`, the trait `Send` is not implemented for `*const cxx::void`, which is required by `CxxVector<NotThreadSafe>: Send`
7+
= help: within `CxxVector<NotThreadSafe>`, the trait `Send` is not implemented for `*const cxx::void`
88
= note: required because it appears within the type `[*const cxx::void; 0]`
99
note: required because it appears within the type `cxx::private::Opaque`
1010
--> src/opaque.rs

0 commit comments

Comments
 (0)