Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
They always come in two waves. First the simple things like syntax errors or incorrect types, then it can analyse the code enough to find all the ownership-related problems.
-
@deadlyRants I think I'm past ownership errors. I got generic type/trait errors now.
-
If you want the compiler to find even more errors, try OCaml...
And you should be lucky to get them presented on a silver platter like that! -
@rantsauce Oh, good luck ;)
Traits (or rather trait objects) are pretty much the one thing I almost never bother with. Maybe it's just me but I find error messages in that area really unhelpful, and the included suggestions never work. -
Have you tried to use VSCode + Rust-Analyzer? I started with CLion but it stopped working for me after a few weeks. Rust Analyzer is just awesome. Seeing types is super helpful and errors on the go prevent the waves of errors after a feature is done.
Related Rants
Just when I thought I fixed the error and finally made rustc happy, I got loads of other errors.
rant
rustc
thanks rust
rust