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/traits/inductive-overflow | |
| 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/traits/inductive-overflow')
| -rw-r--r-- | tests/ui/traits/inductive-overflow/two-traits.stderr | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/traits/inductive-overflow/two-traits.stderr b/tests/ui/traits/inductive-overflow/two-traits.stderr index d2f809f3577..0d0bf88616c 100644 --- a/tests/ui/traits/inductive-overflow/two-traits.stderr +++ b/tests/ui/traits/inductive-overflow/two-traits.stderr @@ -4,7 +4,6 @@ error[E0277]: `T` cannot be shared between threads safely LL | type X = Self; | ^^^^ `T` cannot be shared between threads safely | - = note: consider using `std::sync::Arc<T>`; for more information visit <https://doc.rust-lang.org/book/ch16-03-shared-state.html> note: required by a bound in `Magic::X` --> $DIR/two-traits.rs:8:13 | |
