Skip to content

small type inference fix#285

Merged
burrbull merged 1 commit intorust-embedded:masterfrom
robamu:small-type-inference-fix
Mar 26, 2025
Merged

small type inference fix#285
burrbull merged 1 commit intorust-embedded:masterfrom
robamu:small-type-inference-fix

Conversation

@robamu
Copy link
Copy Markdown
Contributor

@robamu robamu commented Mar 26, 2025

I experimented with https://github.com/pftbest/msp430_svd today, and got this compile error:

svdtools on  master [$] is 📦 v0.4.5 via 🐍 v3.12.3 via 🦀 v1.85.0
❯ cargo check
    Checking svdtools v0.4.5 (/home/rmueller/Rust/svdtools)
error[E0282]: type annotations needed
   --> src/html/html_cli.rs:403:32
    |
403 |         (filling > u16::MAX as _)
    |                                ^ cannot infer type

For more information about this error, try `rustc --explain E0282`.
error: could not compile `svdtools` (lib) due to 1 previous error

@burrbull burrbull added this pull request to the merge queue Mar 26, 2025
Merged via the queue into rust-embedded:master with commit 2732f60 Mar 26, 2025
12 checks passed
@robamu robamu deleted the small-type-inference-fix branch March 27, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants