Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glib: Fix expected compiler error text for Rust 1.84 #1631

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading