mirror of
https://github.com/topjohnwu/cxx.git
synced 2024-10-07 00:53:28 +00:00
Update ui test suite to nightly-2024-02-01
This commit is contained in:
parent
35d5d36d3e
commit
be9ddf3c10
@ -4,7 +4,7 @@ error[E0277]: `*const cxx::void` cannot be sent between threads safely
|
||||
13 | assert_send::<ffi::Opaque>();
|
||||
| ^^^^^^^^^^^ `*const cxx::void` cannot be sent between threads safely
|
||||
|
|
||||
= help: within `ffi::Opaque`, the trait `Send` is not implemented for `*const cxx::void`
|
||||
= help: within `ffi::Opaque`, the trait `Send` is not implemented for `*const cxx::void`, which is required by `ffi::Opaque: Send`
|
||||
= note: required because it appears within the type `[*const cxx::void; 0]`
|
||||
note: required because it appears within the type `cxx::private::Opaque`
|
||||
--> src/opaque.rs
|
||||
@ -28,7 +28,7 @@ error[E0277]: `*const cxx::void` cannot be shared between threads safely
|
||||
14 | assert_sync::<ffi::Opaque>();
|
||||
| ^^^^^^^^^^^ `*const cxx::void` cannot be shared between threads safely
|
||||
|
|
||||
= help: within `ffi::Opaque`, the trait `Sync` is not implemented for `*const cxx::void`
|
||||
= help: within `ffi::Opaque`, the trait `Sync` is not implemented for `*const cxx::void`, which is required by `ffi::Opaque: Sync`
|
||||
= note: required because it appears within the type `[*const cxx::void; 0]`
|
||||
note: required because it appears within the type `cxx::private::Opaque`
|
||||
--> src/opaque.rs
|
||||
@ -50,7 +50,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
|
||||
--> tests/ui/opaque_autotraits.rs:15:20
|
||||
|
|
||||
15 | assert_unpin::<ffi::Opaque>();
|
||||
| ^^^^^^^^^^^ within `ffi::Opaque`, the trait `Unpin` is not implemented for `PhantomPinned`
|
||||
| ^^^^^^^^^^^ within `ffi::Opaque`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `ffi::Opaque: Unpin`
|
||||
|
|
||||
= note: consider using the `pin!` macro
|
||||
consider using `Box::pin` if you need to access the pinned value outside of the current scope
|
||||
|
@ -4,7 +4,7 @@ error[E0277]: the size for values of type `str` cannot be known at compilation t
|
||||
4 | type TypeR;
|
||||
| ^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: within `TypeR`, the trait `Sized` is not implemented for `str`
|
||||
= help: within `TypeR`, the trait `Sized` is not implemented for `str`, which is required by `TypeR: Sized`
|
||||
note: required because it appears within the type `TypeR`
|
||||
--> tests/ui/opaque_not_sized.rs:8:8
|
||||
|
|
||||
|
@ -2,7 +2,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
|
||||
--> tests/ui/rust_pinned.rs:6:14
|
||||
|
|
||||
6 | type Pinned;
|
||||
| ^^^^^^ within `Pinned`, the trait `Unpin` is not implemented for `PhantomPinned`
|
||||
| ^^^^^^ within `Pinned`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `Pinned: Unpin`
|
||||
|
|
||||
= note: consider using the `pin!` macro
|
||||
consider using `Box::pin` if you need to access the pinned value outside of the current scope
|
||||
|
@ -4,7 +4,7 @@ error[E0277]: `*const cxx::void` cannot be sent between threads safely
|
||||
20 | assert_send::<CxxVector<ffi::NotThreadSafe>>();
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const cxx::void` cannot be sent between threads safely
|
||||
|
|
||||
= help: within `CxxVector<NotThreadSafe>`, the trait `Send` is not implemented for `*const cxx::void`
|
||||
= help: within `CxxVector<NotThreadSafe>`, the trait `Send` is not implemented for `*const cxx::void`, which is required by `CxxVector<NotThreadSafe>: Send`
|
||||
= note: required because it appears within the type `[*const cxx::void; 0]`
|
||||
note: required because it appears within the type `cxx::private::Opaque`
|
||||
--> src/opaque.rs
|
||||
|
Loading…
Reference in New Issue
Block a user