Sema: improve new error messages related to naked functions

* pass a source location to all safety checks
 * add notes about what is disallowed in naked functions

Closes #16651
89d660c3ebJacob Young committed on 8/2/2023, 11:12:30 PM· committed by Andrew Kelleyparent9e19969
4 files changedLine totals unavailable