by staticassertion · 6y ago · 0 comments
For example;
let x = 5; let y = vec![0; y * 2];
for i in 0..x * 3 { y[x] }
That shouldn't compile.
Because of the SAT solver you have some restrictions on what you can prove, but they're so much more ergonomic I think it's more than worth it.
You don’t need strict reasoning for it to be useful like any other type level feature.