summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-01-19 16:03:38 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-02-15 18:42:31 +0900
commit25d74b9527cd525042ad0b612b794fa331d3a318 (patch)
tree3b40adf0eb79bb5d7e81640d98dee162c35c076b /ext
parent926277bf826127c65689ddf01f94e23d538a3b8b (diff)
Do not include a backtick in error messages and backtraces
[Feature #16495]
Diffstat (limited to 'ext')
-rw-r--r--ext/-test-/struct/member.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/struct/member.c b/ext/-test-/struct/member.c
index f5400fe477..29ddff93e8 100644
--- a/ext/-test-/struct/member.c
+++ b/ext/-test-/struct/member.c
@@ -6,7 +6,7 @@ bug_struct_get(VALUE obj, VALUE name)
ID id = rb_check_id(&name);
if (!id) {
- rb_name_error_str(name, "`%"PRIsVALUE"' is not a struct member", name);
+ rb_name_error_str(name, "'%"PRIsVALUE"' is not a struct member", name);
}
return rb_struct_getmember(obj, id);
}