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