Remove unsupported attribute

This commit is contained in:
Sam Scott 2025-06-03 12:16:09 -05:00
parent 9364f15dad
commit d812631d15
2 changed files with 16 additions and 17 deletions

View file

@ -494,7 +494,6 @@ fallback_impl! { compact_str::CompactString, }
macro_rules! tuple_impl {
($($t:ident),*; $($u:ident),*) => {
#[diagnostic::do_not_recommend]
unsafe impl<$($t),*> Update for ($($t,)*)
where
$($t: Update,)*

View file

@ -50,14 +50,14 @@ error[E0277]: the trait bound `ContainsRef<'db>: Update` is not satisfied
| ^^^^^^^^^^^^^^^^ the trait `Update` is not implemented for `ContainsRef<'db>`
|
= help: the following other types implement trait `Update`:
Arc<T>
BTreeMap<K, V>
BTreeSet<K>
Box<T>
Box<[T]>
HashMap<K, V, S>
HashSet<K, S>
Infallible
()
(A, B)
(A, B, C)
(A, B, C, D)
(A, B, C, D, E)
(A, B, C, D, E, F)
(A, B, C, D, E, F, G)
(A, B, C, D, E, F, G, H)
and $N others
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`
--> 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
| ^^^^^^^^^^^^^^^ the trait `Update` is not implemented for `ContainsRef<'db>`
|
= help: the following other types implement trait `Update`:
Arc<T>
BTreeMap<K, V>
BTreeSet<K>
Box<T>
Box<[T]>
HashMap<K, V, S>
HashSet<K, S>
Infallible
()
(A, B)
(A, B, C)
(A, B, C, D)
(A, B, C, D, E)
(A, B, C, D, E, F)
(A, B, C, D, E, F, G)
(A, B, C, D, E, F, G, H)
and $N others
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`
--> tests/compile-fail/tracked_fn_return_ref.rs:39:1