[ruby-core:120544] [Ruby master Feature#21000] A way to avoid loading constant required by a type check