forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#123431 - slanterns:literal_byte_character_c…
…_string_stabilize, r=dtolnay Stabilize `proc_macro_byte_character` and `proc_macro_c_str_literals` This PR stabilizes `proc_macro_byte_character` and `proc_macro_c_str_literals`: ```rust // proc_macro::Literal impl Literal { pub fn byte_character(byte: u8) -> Literal; pub fn c_string(string: &CStr) -> Literal } ``` <br> Tracking issue: rust-lang#115268, rust-lang#119750. Implementation PR: rust-lang#112711, rust-lang#119651. FCPs already completed in their respective tracking issues. Closes rust-lang#115268. Closes rust-lang#119750. r? libs-api
- Loading branch information
Showing
6 changed files
with
2 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
10 changes: 0 additions & 10 deletions
10
tests/ui/feature-gates/feature-gate-proc_macro_byte_character.rs
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
tests/ui/feature-gates/feature-gate-proc_macro_byte_character.stderr
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
tests/ui/feature-gates/feature-gate-proc_macro_c_str_literals.rs
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
tests/ui/feature-gates/feature-gate-proc_macro_c_str_literals.stderr
This file was deleted.
Oops, something went wrong.
This file contains 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