@@ -7,13 +7,13 @@ error[E0277]: `*mut c_void` cannot be sent between threads safely
7
7
| required by a bound introduced by this call
8
8
|
9
9
= help: the trait `Send` is not implemented for `*mut c_void`
10
- = note: required because of the requirements on the impl of `Send` for `TypedObjectRef<*mut c_void, ()>`
10
+ = note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send `
11
11
note: required because it appears within the type `InitiallyUnowned`
12
12
--> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:3:16
13
13
|
14
14
3 | pub struct InitiallyUnowned(Object<glib::gobject_ffi::GInitiallyUnowned, glib::gobject_ffi::GInitiallyUnownedClass>);
15
15
| ^^^^^^^^^^^^^^^^
16
- = note: required because of the requirements on the impl of `Send` for `TypedObjectRef<imp_object::TestObject, InitiallyUnowned>`
16
+ = note: required for `TypedObjectRef<imp_object::TestObject, InitiallyUnowned>` to implement `Send `
17
17
note: required because it appears within the type `TestObject`
18
18
--> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:37:16
19
19
|
@@ -34,13 +34,13 @@ error[E0277]: `*mut c_void` cannot be shared between threads safely
34
34
| required by a bound introduced by this call
35
35
|
36
36
= help: the trait `Sync` is not implemented for `*mut c_void`
37
- = note: required because of the requirements on the impl of `Send` for `TypedObjectRef<*mut c_void, ()>`
37
+ = note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send `
38
38
note: required because it appears within the type `InitiallyUnowned`
39
39
--> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:3:16
40
40
|
41
41
3 | pub struct InitiallyUnowned(Object<glib::gobject_ffi::GInitiallyUnowned, glib::gobject_ffi::GInitiallyUnownedClass>);
42
42
| ^^^^^^^^^^^^^^^^
43
- = note: required because of the requirements on the impl of `Send` for `TypedObjectRef<imp_object::TestObject, InitiallyUnowned>`
43
+ = note: required for `TypedObjectRef<imp_object::TestObject, InitiallyUnowned>` to implement `Send `
44
44
note: required because it appears within the type `TestObject`
45
45
--> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:37:16
46
46
|
0 commit comments