Closed 6p5ra closed 3 weeks ago
cargo build and then cargo run.
But that worked fine, right?
In the PROBLEMS tab of my IDE VS Code, I got a huge list of errors:
I've never seen that. But it seems like rust-analyzer report errors in the doctest from the dependencies. These can't work because they require dev-dependencies that are not loaded transitively, by design. So this is, i'd say, a bug of rust analyzer that it tries to compile the doctest in dependencies.
I don't think this is related to a problem in Slint. Looks like a bug in rust-analyzer to me.
I don't think this is related to a problem in Slint. Looks like a bug in rust-analyzer to me.
Yes, you are absolutely correct. Reinstalling rust on the system fixed the problem. Thanks for the response.
I ran everything as specified in the template's readme.
cargo build and then cargo run.
In the PROBLEMS tab of my IDE VS Code, I got a huge list of errors: