about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-04 14:51:18 +0200
committerGitHub <noreply@github.com>2024-04-04 14:51:18 +0200
commitad300b673865d25b76e4d00da58c80df0bcba271 (patch)
tree3dbaeebc290bb4d91e08a31e10e83e4530792a5a /compiler/rustc_codegen_llvm/src/errors.rs
parentf254ab08f155ae118a71b438fa56d85e9251b0ce (diff)
parentfbc56dfac13ba6fb81bca6439e120a9c554c3a57 (diff)
downloadrust-ad300b673865d25b76e4d00da58c80df0bcba271.tar.gz
rust-ad300b673865d25b76e4d00da58c80df0bcba271.zip
Rollup merge of #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: https://github.com/rust-lang/rust/issues/115268, https://github.com/rust-lang/rust/issues/119750.
Implementation PR: https://github.com/rust-lang/rust/pull/112711, https://github.com/rust-lang/rust/pull/119651.

FCPs already completed in their respective tracking issues.

Closes https://github.com/rust-lang/rust/issues/115268. Closes https://github.com/rust-lang/rust/issues/119750.

r? libs-api
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions