Skip to content

Tag::is_valid_name(): handle errors in CString conversion#1290

Open
DanielEScherzer wants to merge 1 commit into
rust-lang:mainfrom
DanielEScherzer:tag-name-cstring
Open

Tag::is_valid_name(): handle errors in CString conversion#1290
DanielEScherzer wants to merge 1 commit into
rust-lang:mainfrom
DanielEScherzer:tag-name-cstring

Conversation

@DanielEScherzer

Copy link
Copy Markdown
Contributor

Instead of panicking, treat failure to create a CString as indicating that the name is not valid.

Instead of panicking, treat failure to create a `CString` as indicating that
the name is not valid.
@rustbot rustbot added the S-waiting-on-review Status: Waiting on review label Jul 14, 2026
@DanielEScherzer

Copy link
Copy Markdown
Contributor Author

C.f. #1229 where we did the same thing for reference names

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Waiting on review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants