This is what was already in place:

https://github.com/rspec/rspec-core/pull/1146/files#diff-347a1d9242143ec7d337efe37081249aL1004