1 The range pattern `...` is no longer allowed.
3 Erroneous code example:
5 ```edition2021,compile_fail,E0783
7 0...9 => println!("Got a number less than 10"), // error!
8 _ => println!("Got a number 10 or more"),
12 Older Rust code using previous editions allowed `...` to stand for exclusive
13 ranges which are now signified using `..=`.
15 To make this code compile replace the `...` with `..=`.
19 0..=9 => println!("Got a number less than 10"), // ok!
20 _ => println!("Got a number 10 or more"),