aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/vector_autotraits.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/vector_autotraits.stderr')
-rw-r--r--tests/ui/vector_autotraits.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/vector_autotraits.stderr b/tests/ui/vector_autotraits.stderr
index 52fd2a41..d8559d00 100644
--- a/tests/ui/vector_autotraits.stderr
+++ b/tests/ui/vector_autotraits.stderr
@@ -1,14 +1,14 @@
error[E0277]: `*const cxx::void` cannot be sent between threads safely
- --> $DIR/vector_autotraits.rs:20:5
+ --> tests/ui/vector_autotraits.rs:20:19
|
20 | assert_send::<CxxVector<ffi::NotThreadSafe>>();
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const cxx::void` cannot be sent between threads safely
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*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`
- --> $DIR/vector_autotraits.rs:7:14
+ --> tests/ui/vector_autotraits.rs:7:14
|
7 | type NotThreadSafe;
| ^^^^^^^^^^^^^
@@ -16,7 +16,7 @@ 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`
- --> $DIR/vector_autotraits.rs:16:19
+ --> tests/ui/vector_autotraits.rs:16:19
|
16 | fn assert_send<T: Send>() {}
| ^^^^ required by this bound in `assert_send`