mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Added rb_warn_deprecated_to_remove
Warn the deprecation and future removal, with obeying the warning flag.
This commit is contained in:
parent
0ea759eac9
commit
aefb13eb63
6 changed files with 29 additions and 14 deletions
2
hash.c
2
hash.c
|
@ -4968,7 +4968,7 @@ env_fetch(int argc, VALUE *argv, VALUE _)
|
|||
int
|
||||
rb_env_path_tainted(void)
|
||||
{
|
||||
rb_warn("rb_env_path_tainted is deprecated and will be removed in Ruby 3.2.");
|
||||
rb_warn_deprecated_to_remove("rb_env_path_tainted", "3.2");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue