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
Currently cargo check will not evaluate associated constants or const blocks. This results in cargo check succeeding while cargo build fails to compile when it evaluates the constant.
This s probably best done with a force_eval_constants flag which would switch to using cargo build for any rust version (currently all of them) for which cargo check will miss constant panics.
The text was updated successfully, but these errors were encountered:
Currently
cargo check
will not evaluate associated constants or const blocks. This results incargo check
succeeding whilecargo build
fails to compile when it evaluates the constant.Example
This s probably best done with a
force_eval_constants
flag which would switch to usingcargo build
for any rust version (currently all of them) for whichcargo check
will miss constant panics.The text was updated successfully, but these errors were encountered: