about summary refs log tree commit diff
path: root/tests/ui/error-codes
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-08-28 03:16:48 -0700
committerDavid Tolnay <dtolnay@gmail.com>2023-08-28 03:16:48 -0700
commit823bacb6e3b04c0c9eecb53cc04d4ef96e45d20a (patch)
treecf1b04af47d5a8a3fc59e7a48826f78cd3a75ec4 /tests/ui/error-codes
parent4120936f6d9912b2e67001dfbe4bf50f00503034 (diff)
downloadrust-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.stderr1
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
    |