Fix error message for explicitly derived Data
Explicitly deriving Data
currently generates an incorrect span in the error message:
data X = X deriving (Data)
Error:
Instances of type class `Prelude.Data' cannot be derived
|
1 | interface Prelude where {
| ^^^^^^^^^^^^