diff --git a/include/ruby/internal/intern/error.h b/include/ruby/internal/intern/error.h index b255abb82b..9c153cbac5 100644 --- a/include/ruby/internal/intern/error.h +++ b/include/ruby/internal/intern/error.h @@ -201,12 +201,6 @@ RBIMPL_ATTR_NORETURN() */ void rb_error_frozen_object(VALUE what); -/** - * @deprecated Does nothing. This method is deprecated and will be removed in - * Ruby 3.2. - */ -void rb_error_untrusted(VALUE); - /** * Queries if the passed object is frozen. * @@ -216,12 +210,6 @@ void rb_error_untrusted(VALUE); */ void rb_check_frozen(VALUE obj); -/** - * @deprecated Does nothing. This method is deprecated and will be removed in - * Ruby 3.2. - */ -void rb_check_trusted(VALUE); - /** * Ensures that the passed object can be `initialize_copy` relationship. When * you implement your own one you would better call this at the right beginning