about summary refs log tree commit diff
path: root/tests/ui/recursion/recursive-requirements.stderr
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/recursion/recursive-requirements.stderr
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/recursion/recursive-requirements.stderr')
-rw-r--r--tests/ui/recursion/recursive-requirements.stderr2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/recursion/recursive-requirements.stderr b/tests/ui/recursion/recursive-requirements.stderr
index ceb03c4cdbe..bb63f7cd0dc 100644
--- a/tests/ui/recursion/recursive-requirements.stderr
+++ b/tests/ui/recursion/recursive-requirements.stderr
@@ -5,7 +5,6 @@ LL |     let _: AssertSync<Foo> = unimplemented!();
    |            ^^^^^^^^^^^^^^^ `*const Bar` cannot be shared between threads safely
    |
    = help: within `Foo`, the trait `Sync` is not implemented for `*const Bar`
-   = note: consider using `std::sync::Arc<*const Bar>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
 note: required because it appears within the type `Foo`
   --> $DIR/recursive-requirements.rs:5:12
    |
@@ -24,7 +23,6 @@ LL |     let _: AssertSync<Foo> = unimplemented!();
    |            ^^^^^^^^^^^^^^^ `*const Foo` cannot be shared between threads safely
    |
    = help: within `Foo`, the trait `Sync` is not implemented for `*const Foo`
-   = note: consider using `std::sync::Arc<*const Foo>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
 note: required because it appears within the type `Bar`
   --> $DIR/recursive-requirements.rs:10:12
    |