Skip to content
Discussion options

You must be logged in to vote

When I clone the repo and build your project, I get the same error.

Above the error, there is a warning:

warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
   Compiling leptos v0.8.2
error[E0308]: mismatched types

When I edit the Cargo.toml in your workspace root to add resolver = "2",…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@CedricGARVENES
Comment options

@gbj
Comment options

gbj Jun 4, 2025
Maintainer

@CedricGARVENES
Comment options

Comment options

You must be logged in to vote
1 reply
@CedricGARVENES
Comment options

Answer selected by CedricGARVENES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants