diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-04-28 09:28:27 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-05-01 21:01:51 -0400 |
| commit | bd7d328807a8bb15732ebb764e1ea3df4fbe3fd1 (patch) | |
| tree | a7e4864587a0af2a4681551cff4488402e281c3f /library/proc_macro/src | |
| parent | cfb2410752d7f7108f1b140a65310ffc9f6eb6c6 (diff) | |
| download | rust-bd7d328807a8bb15732ebb764e1ea3df4fbe3fd1.tar.gz rust-bd7d328807a8bb15732ebb764e1ea3df4fbe3fd1.zip | |
Replace version placeholders for 1.79
Diffstat (limited to 'library/proc_macro/src')
| -rw-r--r-- | library/proc_macro/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/proc_macro/src/lib.rs b/library/proc_macro/src/lib.rs index 1ceff2e506c..23ae2e7dc0d 100644 --- a/library/proc_macro/src/lib.rs +++ b/library/proc_macro/src/lib.rs @@ -1360,7 +1360,7 @@ impl Literal { } /// Byte character literal. - #[stable(feature = "proc_macro_byte_character", since = "CURRENT_RUSTC_VERSION")] + #[stable(feature = "proc_macro_byte_character", since = "1.79.0")] pub fn byte_character(byte: u8) -> Literal { let string = [byte].escape_ascii().to_string(); Literal::new(bridge::LitKind::Byte, &string, None) @@ -1374,7 +1374,7 @@ impl Literal { } /// C string literal. - #[stable(feature = "proc_macro_c_str_literals", since = "CURRENT_RUSTC_VERSION")] + #[stable(feature = "proc_macro_c_str_literals", since = "1.79.0")] pub fn c_string(string: &CStr) -> Literal { let string = string.to_bytes().escape_ascii().to_string(); Literal::new(bridge::LitKind::CStr, &string, None) |
