Merge branch 'stage2 error notes'

Closes #7555

There was still some extra work @Vexu did in that PR having to do with
adding more compile errors and notes for switch expressions, but that
can be added in a follow-up commit.
44135ea84eAndrew Kelley committed on 1/17/2021, 7:16:10 AMparents1f658288deb21c
19 files changedLine totals unavailable