Repository navigation
Make Literal::cstr_value return a CString - #165550
Merged
rust-bors[bot] merged 2 commits intoNov 7, 2026
Merged
Conversation
Collaborator
|
|
This comment has been minimized.
This comment has been minimized.
GuillaumeGomez
force-pushed
the
proc-macro-literal-api
branch
from
November 6, 2026 13:56
51bb9e1 to
7faa8a6
Compare
Member
Author
|
Fixed formatting. |
GuillaumeGomez
force-pushed
the
proc-macro-literal-api
branch
from
November 6, 2026 21:46
7faa8a6 to
5fbd5d8
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
Member
|
@bors r+ |
Contributor
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 7, 2026
Rollup of 15 pull requests Successful merges: - #165037 (Drop array elements in order after a partial move) - #165550 (Make `Literal::cstr_value` return a `CString`) - #159374 (Lower #[no_mangle] to #[symbol_name]/#[link_name]) - #163284 (feat(Reborrow): Allow multiple lifetimes) - #164775 (Tweak output on misused `const` parameter to provide more context and more accurate suggestion) - #165194 (name elided lifetimes in `use<...>` suggestion when `impl Trait` params are present) - #165222 (Anonymize inner binders when checking refining) - #165335 (Fallible type ops) - #165388 (Accept variadic SysV64, Win64, and Aapcs FnAbis in rustc_public) - #165448 (Update `Vec::retain_unstable` docs to say that this method is generally faster than `Vec::retain_mut`) - #165494 (fix Miri ICE on exit with () return type) - #165505 (DFV: Reject `#[non_exhaustive]` on enum variants with default field values) - #165512 (Fix warnings for the L4Re targets) - #165514 (Remove unused `WhereEqPredicate` and `ScopeId` types) - #165518 (style-guide: Remove ABI explicitness prescription for extern items)
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 7, 2026
Rollup merge of #165550 - GuillaumeGomez:proc-macro-literal-api, r=programmerjake Make `Literal::cstr_value` return a `CString` Part of #136652, suggested [here](#151973 (comment)). r? @programmerjake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #136652, suggested here.
r? @programmerjake