Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
22
vendor/cxx/tests/ui/vector_autotraits.stderr
vendored
Normal file
22
vendor/cxx/tests/ui/vector_autotraits.stderr
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
error[E0277]: `*const cxx::void` cannot be sent between threads safely
|
||||
--> tests/ui/vector_autotraits.rs:20:19
|
||||
|
|
||||
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`
|
||||
= note: required because it appears within the type `[*const cxx::void; 0]`
|
||||
= note: required because it appears within the type `cxx::private::Opaque`
|
||||
note: required because it appears within the type `NotThreadSafe`
|
||||
--> tests/ui/vector_autotraits.rs:7:14
|
||||
|
|
||||
7 | type NotThreadSafe;
|
||||
| ^^^^^^^^^^^^^
|
||||
= note: required because it appears within the type `[NotThreadSafe]`
|
||||
= note: required because it appears within the type `PhantomData<[NotThreadSafe]>`
|
||||
= note: required because it appears within the type `CxxVector<NotThreadSafe>`
|
||||
note: required by a bound in `assert_send`
|
||||
--> tests/ui/vector_autotraits.rs:16:19
|
||||
|
|
||||
16 | fn assert_send<T: Send>() {}
|
||||
| ^^^^ required by this bound in `assert_send`
|
||||
Loading…
Add table
Add a link
Reference in a new issue