Sema: add missing compile error for runtime-known const with comptime-only type

When RLS is used to initialize a value with a comptime-only type, the
usual "value with comptime-only type depends on runtime control flow"
error message isn't hit, because we don't use results from a block. When
we reach `make_ptr_const`, we must validate that the value is
comptime-known.
50ef10eb49mlugg committed on 9/15/2023, 1:29:57 PMparent6a34964
1 file changedLine totals unavailable