Closed
Description
In the example below, the error message could at least mention that type
is keyword, or be changed more radically: #15358 (comment)
Previously:
Cannot declare a field 'type' on struct
Declaring for example the following struct:
struct Serie {
metric: String,
type: String
}
Yields the following error:
error: found `type` in ident position
type: String
Is this intended?