make `@trap` return unreachable/noreturn (#15749)

`@trap` is a special function that we know never returns so it should
behave just like `@panic` and `@compileError` do currently and cause the
"unreachable code" + "control flow is diverted here" compile error.
Currently, `@trap(); @trap();` does not cause this error. Now it does.
3d64ed0353zooster committed on 5/18/2023, 9:00:35 PM· committed by GitHubparent7cf2cbb
3 files changedLine totals unavailable