diff options
| author | David Tolnay <dtolnay@gmail.com> | 2023-08-28 03:16:48 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2023-08-28 03:16:48 -0700 |
| commit | 823bacb6e3b04c0c9eecb53cc04d4ef96e45d20a (patch) | |
| tree | cf1b04af47d5a8a3fc59e7a48826f78cd3a75ec4 /tests/ui/error-codes | |
| parent | 4120936f6d9912b2e67001dfbe4bf50f00503034 (diff) | |
| download | rust-823bacb6e3b04c0c9eecb53cc04d4ef96e45d20a.tar.gz rust-823bacb6e3b04c0c9eecb53cc04d4ef96e45d20a.zip | |
Revert "Suggest using `Arc` on `!Send`/`!Sync` types"
This reverts commit 9de1a472b68ed85f396b2e2cc79c3ef17584d6e1.
Diffstat (limited to 'tests/ui/error-codes')
| -rw-r--r-- | tests/ui/error-codes/E0277-2.stderr | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0277-2.stderr b/tests/ui/error-codes/E0277-2.stderr index 38ae0aa6aa5..a2abf37931a 100644 --- a/tests/ui/error-codes/E0277-2.stderr +++ b/tests/ui/error-codes/E0277-2.stderr @@ -5,7 +5,6 @@ LL | is_send::<Foo>(); | ^^^ `*const u8` cannot be sent between threads safely | = help: within `Foo`, the trait `Send` is not implemented for `*const u8` - = note: consider using `std::sync::Arc<*const u8>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html> note: required because it appears within the type `Baz` --> $DIR/E0277-2.rs:9:8 | |
