The attribute [DataType]
may not be used on the Anchor field of Arrays.
Instead it is defined on the declaration of the [Array]
struct
.
You can also use the provided automatic Code Fix to remove the attribute and put it in the correct place. ( Press Alt + Enter on the Error line to find the Code Fix in the context menu)
Move the attribute to the correct place.