Skip to content

Cannot infer type with version 0.3.3 #58

@LucaCappelletti94

Description

@LucaCappelletti94

Hi, while running cargo check with the following rust version:

rustup 1.28.1 (f9edccde0 2025-03-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.88.0-nightly (2fa8b11f0 2025-04-06)`

I got the following error:

error[E0282]: type annotations needed
   --> /home/luca/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlite-wasm-rs-0.3.3/src/vfs/utils.rs:104:38
    |
104 |         src.len() == dst.length() as _,
    |                                      ^ cannot infer type

I will try to make a PR shortly to try and address this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions