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
Provide a method to attach a database even if it's different from the current attached one (#992)
* Provide a method to attach a database even if it's different from the current attached one
rust-analyzer needs this.
* Fix Clippy on beta
* Update compile fail test outputs
---------
Co-authored-by: Lukas Wirth <[email protected]>
@@ -22,7 +22,7 @@ error[E0277]: the trait bound `NotPersistable<'_>: Serialize` is not satisfied
22
22
= note: required for `(NotPersistable<'_>,)` to implement `Serialize`
23
23
= note: this error originates in the macro `salsa::plumbing::setup_tracked_struct` which comes from the expansion of the attribute macro `salsa::tracked` (in Nightly builds, run with -Z macro-backtrace for more info)
24
24
25
-
error[E0277]: the trait bound `NotPersistable<'_>: Deserialize<'_>` is not satisfied
25
+
error[E0277]: the trait bound `NotPersistable<'_>: serde::Deserialize<'de>` is not satisfied
@@ -43,7 +43,7 @@ error[E0277]: the trait bound `NotPersistable<'_>: Deserialize<'_>` is not satis
43
43
= note: required for `(NotPersistable<'_>,)` to implement `Deserialize<'_>`
44
44
= note: this error originates in the macro `salsa::plumbing::setup_tracked_struct` which comes from the expansion of the attribute macro `salsa::tracked` (in Nightly builds, run with -Z macro-backtrace for more info)
45
45
46
-
error[E0277]: the trait bound `NotPersistable<'db>: Serialize` is not satisfied
46
+
error[E0277]: the trait bound `NotPersistable<'db>: serde::Serialize` is not satisfied
@@ -71,7 +71,7 @@ note: required by a bound in `query_input_is_persistable`
71
71
| required by this bound in `query_input_is_persistable`
72
72
= 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)
73
73
74
-
error[E0277]: the trait bound `for<'de> NotPersistable<'db>: Deserialize<'de>` is not satisfied
74
+
error[E0277]: the trait bound `NotPersistable<'db>: serde::Deserialize<'de>` is not satisfied
0 commit comments