Extracted out of https://github.com/scala/scala3/issues/23804 There are no guarantees for user code relying on API in `scala.runtime.*`, but we currently do not warn about it at all. Thus, regressions like https://github.com/scala/scala3/issues/23804 may occur, i.e. when referring to `scala.runtime.stdLibPatches.Predef.assert` **Expectations** Annotate `scala.runtime.*` as internal API and print warnings when they're used.