Fix vector syntax in error messages

Partial patch for #4517

This works for fixed vectors, but I am unclear how slices should be printed, simply '&[...]' is what it seems. Correct?