Skip to content

Commit bb0c143

Browse files
committed
glib: update compiletest output errors for rust 1.65
1 parent d82e50c commit bb0c143

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

glib/tests/subclass_compiletest/02-no-auto-send-sync.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ note: required because it appears within the type `imp::TestObject`
1212
|
1313
6 | pub struct TestObject {
1414
| ^^^^^^^^^^
15-
= note: required because of the requirements on the impl of `Send` for `TypedObjectRef<imp::TestObject, ()>`
15+
= note: required for `TypedObjectRef<imp::TestObject, ()>` to implement `Send`
1616
note: required because it appears within the type `TestObject`
1717
--> tests/subclass_compiletest/02-no-auto-send-sync.rs:20:16
1818
|

glib/tests/subclass_compiletest/03-object-no-auto-send-sync.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ error[E0277]: `*mut c_void` cannot be sent between threads safely
77
| required by a bound introduced by this call
88
|
99
= 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`
1111
= note: required because it appears within the type `Object`
1212
note: required by a bound in `main::check`
1313
--> tests/subclass_compiletest/03-object-no-auto-send-sync.rs:2:17
@@ -24,7 +24,7 @@ error[E0277]: `*mut c_void` cannot be shared between threads safely
2424
| required by a bound introduced by this call
2525
|
2626
= help: the trait `Sync` is not implemented for `*mut c_void`
27-
= note: required because of the requirements on the impl of `Send` for `TypedObjectRef<*mut c_void, ()>`
27+
= note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send`
2828
= note: required because it appears within the type `Object`
2929
note: required by a bound in `main::check`
3030
--> tests/subclass_compiletest/03-object-no-auto-send-sync.rs:2:17

glib/tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ note: required because it appears within the type `imp_parent::TestParent`
1212
|
1313
6 | pub struct TestParent {
1414
| ^^^^^^^^^^
15-
= note: required because of the requirements on the impl of `Send` for `TypedObjectRef<imp_parent::TestParent, ()>`
15+
= note: required for `TypedObjectRef<imp_parent::TestParent, ()>` to implement `Send`
1616
note: required because it appears within the type `TestParent`
1717
--> tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.rs:20:16
1818
|
1919
20 | pub struct TestParent(ObjectSubclass<imp_parent::TestParent>);
2020
| ^^^^^^^^^^
21-
= note: required because of the requirements on the impl of `Send` for `TypedObjectRef<imp_object::TestObject, TestParent>`
21+
= note: required for `TypedObjectRef<imp_object::TestObject, TestParent>` to implement `Send`
2222
note: required because it appears within the type `TestObject`
2323
--> tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.rs:53:16
2424
|

glib/tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ error[E0277]: `*mut c_void` cannot be sent between threads safely
77
| required by a bound introduced by this call
88
|
99
= 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`
1111
note: required because it appears within the type `InitiallyUnowned`
1212
--> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:3:16
1313
|
1414
3 | pub struct InitiallyUnowned(Object<glib::gobject_ffi::GInitiallyUnowned, glib::gobject_ffi::GInitiallyUnownedClass>);
1515
| ^^^^^^^^^^^^^^^^
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`
1717
note: required because it appears within the type `TestObject`
1818
--> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:37:16
1919
|
@@ -34,13 +34,13 @@ error[E0277]: `*mut c_void` cannot be shared between threads safely
3434
| required by a bound introduced by this call
3535
|
3636
= 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`
3838
note: required because it appears within the type `InitiallyUnowned`
3939
--> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:3:16
4040
|
4141
3 | pub struct InitiallyUnowned(Object<glib::gobject_ffi::GInitiallyUnowned, glib::gobject_ffi::GInitiallyUnownedClass>);
4242
| ^^^^^^^^^^^^^^^^
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`
4444
note: required because it appears within the type `TestObject`
4545
--> tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs:37:16
4646
|

0 commit comments

Comments
 (0)