diff --git a/glib/tests/subclass_compiletest/02-no-auto-send-sync.stderr b/glib/tests/subclass_compiletest/02-no-auto-send-sync.stderr index 7944f2d31375..e6a61a6eec32 100644 --- a/glib/tests/subclass_compiletest/02-no-auto-send-sync.stderr +++ b/glib/tests/subclass_compiletest/02-no-auto-send-sync.stderr @@ -6,7 +6,7 @@ error[E0277]: `RefCell` cannot be shared between threads sa | | | required by a bound introduced by this call | - = help: within `imp::TestObject`, the trait `Sync` is not implemented for `RefCell`, which is required by `TestObject: Send` + = help: within `imp::TestObject`, the trait `Sync` is not implemented for `RefCell` = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead note: required because it appears within the type `imp::TestObject` --> tests/subclass_compiletest/02-no-auto-send-sync.rs:6:16 diff --git a/glib/tests/subclass_compiletest/03-object-no-auto-send-sync.stderr b/glib/tests/subclass_compiletest/03-object-no-auto-send-sync.stderr index d7605241531f..4fc7bdc3967f 100644 --- a/glib/tests/subclass_compiletest/03-object-no-auto-send-sync.stderr +++ b/glib/tests/subclass_compiletest/03-object-no-auto-send-sync.stderr @@ -6,7 +6,7 @@ error[E0277]: `*mut c_void` cannot be sent between threads safely | | | required by a bound introduced by this call | - = help: the trait `Send` is not implemented for `*mut c_void`, which is required by `Object: Send` + = help: the trait `Send` is not implemented for `*mut c_void` = note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send` note: required because it appears within the type `Object` --> src/object.rs @@ -27,7 +27,7 @@ error[E0277]: `*mut c_void` cannot be shared between threads safely | | | required by a bound introduced by this call | - = help: the trait `Sync` is not implemented for `*mut c_void`, which is required by `Object: Send` + = help: the trait `Sync` is not implemented for `*mut c_void` = note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send` note: required because it appears within the type `Object` --> src/object.rs diff --git a/glib/tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.stderr b/glib/tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.stderr index 25d8f3d9a3b8..c6939eaa9552 100644 --- a/glib/tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.stderr +++ b/glib/tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.stderr @@ -6,7 +6,7 @@ error[E0277]: `RefCell` cannot be shared between threads sa | | | required by a bound introduced by this call | - = help: within `imp_parent::TestParent`, the trait `Sync` is not implemented for `RefCell`, which is required by `TestObject: Send` + = help: within `imp_parent::TestParent`, the trait `Sync` is not implemented for `RefCell` = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead note: required because it appears within the type `imp_parent::TestParent` --> tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.rs:6:16 diff --git a/glib/tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.stderr b/glib/tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.stderr index 78e094d48c35..0bb1b5bb969a 100644 --- a/glib/tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.stderr +++ b/glib/tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.stderr @@ -6,7 +6,7 @@ error[E0277]: `*mut c_void` cannot be sent between threads safely | | | required by a bound introduced by this call | - = help: the trait `Send` is not implemented for `*mut c_void`, which is required by `TestObject: Send` + = help: the trait `Send` is not implemented for `*mut c_void` = note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send` note: required because it appears within the type `InitiallyUnowned` --> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:3:16 @@ -33,7 +33,7 @@ error[E0277]: `*mut c_void` cannot be shared between threads safely | | | required by a bound introduced by this call | - = help: the trait `Sync` is not implemented for `*mut c_void`, which is required by `TestObject: Send` + = help: the trait `Sync` is not implemented for `*mut c_void` = note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send` note: required because it appears within the type `InitiallyUnowned` --> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:3:16