summary refs log tree commit diff
path: root/library/proc_macro/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-12-13Remove support for specializing ToString outside the standard librarybjorn3-66/+11
2024-11-30rustc_allow_const_fn_unstable is not used in proc_macroRalf Jung-1/+0
2024-10-27Add a new trait `proc_macro::ToTokens`Asuna-0/+4
2024-10-21move strict provenance lints to new feature gate, remove old feature gatesRalf Jung-1/+0
2024-10-02update `Literal`'s introSlanterns-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-27library: Stabilize new_uninit for Box, Rc, and ArcJubilee Young-1/+0
2024-07-29Rollup merge of #128307 - ojeda:unescaped_backticks, r=GuillaumeGomezMatthias Krüger-0/+1
2024-07-29Warn on `rustdoc::unescaped_backticks` for `core/alloc/std/test/proc_macro`Miguel Ojeda-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+5
2024-07-19Avoid ref when using format! for perfYuri Astrakhan-2/+2
2024-06-13Remove superfluous escaping from byte, byte str, and c str literalsDavid Tolnay-14/+37
2024-05-23Rollup merge of #124389 - CensoredUsername:master, r=petrochenkovLeón Orell Valerian Liehr-0/+12
2024-05-18Add a warning to Delimiter::None that rustc currently does not respect it.CensoredUsername-0/+12
2024-05-01Replace version placeholders for 1.79Mark Rousskov-2/+2
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-16Fix empty-set symbol in commentsDavid Tolnay-1/+1
2024-04-11Call the panic hook for non-unwind panics in proc-macrosBen Kimock-0/+1
2024-04-04Stabilize `Literal::c_string`Slanterns-1/+1
2024-04-04Stabilize `Literal::byte_character`Slanterns-1/+1
2024-03-12Fix typo in lib.rs of proc_macroJonathan Jensen-1/+1
2024-02-24Forbid use of `extern "C-unwind"` inside standard libraryGary Guo-0/+1
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-0/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-0/+1
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-1/+1
2024-02-11Rollup merge of #119449 - Nilstrieb:library-clippy, r=cuviperMatthias Krüger-0/+3
2024-01-22Document `Token{Stream,Tree}::Display` more thoroughly.Nicholas Nethercote-0/+16
2024-01-21Fix `clippy::correctness` in the libraryNilstrieb-0/+3
2024-01-16proc_macro_c_str_literals: Implement Literal::c_string constructornovafacing-0/+8
2023-12-11Add support for `--env` on `tracked_env::var`Guillaume Gomez-1/+2
2023-12-11Improve `print_tts` by changing `tokenstream::Spacing`.Nicholas Nethercote-14/+12
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-10-08rustdoc: remove rust logo from non-Rust cratesMichael Howell-0/+2
2023-09-26Auto merge of #116124 - WaffleLapkin:fix-proc-macro-literal-to-string, r=comp...bors-1/+9
2023-09-24Fix `.to_string()` of `proc_macro::Literal` (properly print cstr literals)Maybe Waffle-1/+9
2023-09-23implement Literal::byte_characterEmil Gardström-0/+7
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-16proc_macro: Update docs for `Spacing`Vadim Petrochenkov-13/+25
2023-08-10Stabilize thread local cell methods.Mara Bos-1/+0
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-07-24Hide `ToString` implementations that specialize the default onesFrank Steffahn-2/+6
2023-06-20Merge proc_macro_span_shrink and proc_macro_spanJacob Pratt-2/+2
2023-06-20Add `Span::{line, column}`Jacob Pratt-0/+16
2023-06-20`Span::{before, after}` → `Span::{start, end}`Jacob Pratt-4/+4
2023-06-20Remove `LineColumn`, `Span::start`, `Span::end`Jacob Pratt-51/+0
2023-04-21Auto merge of #109002 - michaelvanstraten:master, r=petrochenkovbors-1/+7
2023-04-12remove some unneeded importsKaDiWa-3/+3
2023-03-11Renamed to byte_range and changed Range generics [skip ci]Michael van Straten-2/+2
2023-03-10added byte position range for proc_macro::SpanMichael van Straten-1/+1
2023-03-10added byte position range for proc_macro::SpanMichael van Straten-1/+7