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
I am still having the problem when using my own local checked-out version of Automerge at 0.5.1, and Autosurgeon at 0.8.
Is there a reason why this would only happen when working with your own checked-out Automerge as a path dependency?
For example:
error[E0277]: the trait bound `Transaction<'_>: autosurgeon::ReadDoc` is not satisfied
--> examples/distributed_bakery.rs:476:27
|
476 | reconcile(&mut tx, &bakery).unwrap();
| --------- ^^^^^^^ the trait `autosurgeon::ReadDoc` is not implemented for `Transaction<'_>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `autosurgeon::ReadDoc`:
automerge::autocommit::AutoCommit
automerge::automerge::Automerge
automerge::transaction::manual_transaction::Transaction<'a>
= note: required for `Transaction<'_>` to implement `Doc`
note: required by a bound in `autosurgeon::reconcile`
The text was updated successfully, but these errors were encountered:
gterzian
changed the title
Fix trait errors with new automerge versions
Fix trait errors with overriden automerge
Aug 30, 2023
Yeah I think it was related to automerge-test depending on a fixed version and manually editing Cargo.toml -- I had the same trouble this week. (saving notes here for next time I run into it, no further action needed)
Follow-up on #31 (which I tried to re-open).
I am still having the problem when using my own local checked-out version of Automerge at 0.5.1, and Autosurgeon at 0.8.
Is there a reason why this would only happen when working with your own checked-out Automerge as a
path
dependency?For example:
The text was updated successfully, but these errors were encountered: