You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ^^^^^^^^ the trait `Update` is not implemented for `&'db str`
12
+
15 | #[salsa::tracked]
13
+
| ^^^^^^^^^^^^^^^^^
14
+
| |
15
+
| lifetime `'db` defined here
16
+
| requires that `'db` must outlive `'static`
14
17
|
15
-
= help: the trait `Update` is implemented for `String`
16
-
note: required by a bound in `salsa::plumbing::function::Configuration::Output`
17
-
--> src/function.rs
18
-
|
19
-
| type Output<'db>: fmt::Debug + Send + Sync + Update;
20
-
| ^^^^^^ required by this bound in `Configuration::Output`
18
+
= note: this error originates in the macro `salsa::plumbing::setup_tracked_fn` which comes from the expansion of the attribute macro `salsa::tracked` (in Nightly builds, run with -Z macro-backtrace for more info)
21
19
22
-
error[E0277]: the trait bound `ContainsRef<'db>: Update` is not satisfied
= help: the following other types implement trait `Update`:
29
-
()
30
-
(A, B)
31
-
(A, B, C)
32
-
(A, B, C, D)
33
-
(A, B, C, D, E)
34
-
(A, B, C, D, E, F)
35
-
(A, B, C, D, E, F, G)
36
-
(A, B, C, D, E, F, G, H)
37
-
and $N others
38
-
note: required by a bound in `salsa::plumbing::function::Configuration::Output`
39
-
--> src/function.rs
23
+
20 | #[salsa::tracked]
24
+
| ^^^^^^^^^^^^^^^^^
25
+
| |
26
+
| lifetime `'db` defined here
27
+
| requires that `'db` must outlive `'static`
40
28
|
41
-
| type Output<'db>: fmt::Debug + Send + Sync + Update;
42
-
| ^^^^^^ required by this bound in `Configuration::Output`
29
+
= note: this error originates in the macro `salsa::plumbing::setup_tracked_fn` which comes from the expansion of the attribute macro `salsa::tracked` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments