Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress warning: method redefined; discarding old warn_on_pending_cops
This PR suppresses the following warning. ```console % RUBYOPT=-w bundle exec rspec spec/rubocop/remote_config_spec.rb (snip) /Users/koic/src/github.com/rubocop/rubocop/spec/support/suppress_pending_warning.rb:11: warning: method redefined; discarding old warn_on_pending_cops /Users/koic/src/github.com/rubocop/rubocop/lib/rubocop/config_loader.rb:153: warning: previous definition of warn_on_pending_cops was here ``` cf. rails/rails#23534
- Loading branch information
00d940a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build errors in Ruby 3.1.0-dev have been reported to https://bugs.ruby-lang.org/issues/18268.