In Rust, this code compiles and runs but generates no error or output:
fn main() {
for number in 4..1 {
println!("{}!", number);
}
}
Shouldn't Rust consider this as invalid code and not compile or give a warning since it also doesn't seem to understand that I want to iterate in reverse?
This code generates no Assembly output.