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
The type checker ensures that "while" conditions are bools, but it does not do the same for "do..while" conditions.
fn main() { do {} while 1; }
Result:
Assertion failed: (getCondition()->getType()->isIntegerTy(1) && "May only branch on boolean predicates!"), function AssertOK, file Instructions.cpp, line 730.
Expected:
error: mismatched types: expected bool but found int
Activity
Update github actions (rust-lang#956)
Add reamained vmax and vmin via auto-generated code (rust-lang#956)
Annotate all tests with #[kani::proof] (rust-lang#956)
Merge rust-lang#956
Auto merge of rust-lang#956 - rust-lang:rustup-retag, r=RalfJung
Merge pull request #956 from rust-lang/fix/libgccjit-sysroot-fallback