You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo check does mention unconditional recursion although that's not the real problem and that warning can be dodged (without fixing cargo build) by making the code a little more complicated.
I had assumed that cargo check passing where cargo build failed was a bug, but I've been told by @dtolnay that that's not quite true. He did say to file the bug anyway?
cargo 1.42.1, rustc 1.42.0
The text was updated successfully, but these errors were encountered:
Thanks for the report! This gets reported occasionally, but is unfortunately the nature of how cargo check works. It does all compilation steps except for code generation. Some diagnostics and errors are only emitted during code generation, so they inherently won't be reported with cargo check.
The code is obviously silly, but I did run into the essential problem genuinely:
cargo check
does mention unconditional recursion although that's not the real problem and that warning can be dodged (without fixingcargo build
) by making the code a little more complicated.I had assumed that
cargo check
passing wherecargo build
failed was a bug, but I've been told by @dtolnay that that's not quite true. He did say to file the bug anyway?cargo 1.42.1, rustc 1.42.0
The text was updated successfully, but these errors were encountered: