You can replace this with:

```D
enforce(val.empty, "Not able to parse enum found " ~ args[i]);
*receiver = tmp;
```

Although I'd prefer a better diagnostic message. Anyone else has ideas?