We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Literal::c_string
1 parent 1cbda63 commit 9731fddCopy full SHA for 9731fdd
proc_macro/src/lib.rs
@@ -1374,7 +1374,7 @@ impl Literal {
1374
}
1375
1376
/// C string literal.
1377
- #[unstable(feature = "proc_macro_c_str_literals", issue = "119750")]
+ #[stable(feature = "proc_macro_c_str_literals", since = "CURRENT_RUSTC_VERSION")]
1378
pub fn c_string(string: &CStr) -> Literal {
1379
let string = string.to_bytes().escape_ascii().to_string();
1380
Literal::new(bridge::LitKind::CStr, &string, None)
0 commit comments