rustc: More helpful error message when using a struct type like a function

r? anybody

Closes #6702