Add copy-on-click to diagnostic messages (#2634)

I finally got fed up with being unable to copy error messages. This adds
a click target and tooltip to f8-style diagnostics that copies their
text on click.

Release Notes:

- Added the ability to copy under-line diagnostic errors on click
5860b7b143Mikayla Maki committed on 6/21/2023, 12:05:20 AM· committed by GitHubparents6ed867811125a6
5 files changedLine totals unavailable