Closed
Description
Context: You have an existing struct which has some fields defaulted. If you add another field but forget the comma like this:
struct A {
field1: String,
field2: String
..default()
}
Then currently rustc complains about a range. Here's a snapshot of an actual example:
It could be a legitimate range problem but in that situation it might very well be a missing comma.