Skip to content

Commit d812631

Browse files
committed
Remove unsupported attribute
1 parent 9364f15 commit d812631

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

src/update.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ fallback_impl! { compact_str::CompactString, }
494494

495495
macro_rules! tuple_impl {
496496
($($t:ident),*; $($u:ident),*) => {
497-
#[diagnostic::do_not_recommend]
498497
unsafe impl<$($t),*> Update for ($($t,)*)
499498
where
500499
$($t: Update,)*

tests/compile-fail/tracked_fn_return_ref.stderr

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ error[E0277]: the trait bound `ContainsRef<'db>: Update` is not satisfied
5050
| ^^^^^^^^^^^^^^^^ the trait `Update` is not implemented for `ContainsRef<'db>`
5151
|
5252
= help: the following other types implement trait `Update`:
53-
Arc<T>
54-
BTreeMap<K, V>
55-
BTreeSet<K>
56-
Box<T>
57-
Box<[T]>
58-
HashMap<K, V, S>
59-
HashSet<K, S>
60-
Infallible
53+
()
54+
(A, B)
55+
(A, B, C)
56+
(A, B, C, D)
57+
(A, B, C, D, E)
58+
(A, B, C, D, E, F)
59+
(A, B, C, D, E, F, G)
60+
(A, B, C, D, E, F, G, H)
6161
and $N others
6262
note: required by a bound in `<tracked_fn_return_struct_containing_ref::Configuration_ as salsa::function::Configuration>::execute::_assert_return_type_is_update::_assert_is_update`
6363
--> tests/compile-fail/tracked_fn_return_ref.rs:19:1
@@ -73,14 +73,14 @@ error[E0277]: the trait bound `ContainsRef<'db>: Update` is not satisfied
7373
| ^^^^^^^^^^^^^^^ the trait `Update` is not implemented for `ContainsRef<'db>`
7474
|
7575
= help: the following other types implement trait `Update`:
76-
Arc<T>
77-
BTreeMap<K, V>
78-
BTreeSet<K>
79-
Box<T>
80-
Box<[T]>
81-
HashMap<K, V, S>
82-
HashSet<K, S>
83-
Infallible
76+
()
77+
(A, B)
78+
(A, B, C)
79+
(A, B, C, D)
80+
(A, B, C, D, E)
81+
(A, B, C, D, E, F)
82+
(A, B, C, D, E, F, G)
83+
(A, B, C, D, E, F, G, H)
8484
and $N others
8585
note: required by a bound in `<tracked_fn_return_struct_containing_ref_elided_explicit::Configuration_ as salsa::function::Configuration>::execute::_assert_return_type_is_update::_assert_is_update`
8686
--> tests/compile-fail/tracked_fn_return_ref.rs:39:1

0 commit comments

Comments
 (0)