Add a compile test for the element derive (#2840)

Tried to use this the new element derive on a branch and ran into some
bugs, this fixes those.

Release Notes:

- N/A
1911f537b4Mikayla Maki committed on 8/12/2023, 1:08:13 AM· committed by GitHubparentsffffbbe7970406
5 files changedLine totals unavailable