Skip to content

Commit

Permalink
Merge pull request #1631 from sdroege/trybuild-1.84-expected-output
Browse files Browse the repository at this point in the history
glib: Fix expected compiler error text for Rust 1.84
  • Loading branch information
sdroege authored Jan 13, 2025
2 parents 27f64cd + 2b5781e commit 98b5c83
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ error[E0277]: `RefCell<std::string::String>` 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<std::string::String>`, which is required by `TestObject: Send`
= help: within `imp::TestObject`, the trait `Sync` is not implemented for `RefCell<std::string::String>`
= 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ error[E0277]: `RefCell<std::string::String>` 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<std::string::String>`, which is required by `TestObject: Send`
= help: within `imp_parent::TestParent`, the trait `Sync` is not implemented for `RefCell<std::string::String>`
= 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 98b5c83

Please sign in to comment.