about summary refs log tree commit diff
path: root/library/proc_macro
AgeCommit message (Expand)AuthorLines
2024-07-15lib: replace some `mem::forget`'s with `ManuallyDrop`Pavel Grigorenko-9/+6
2024-06-19Add a hack to prevent proc_macro misopt in CIGary Guo-1/+3
2024-06-13Remove superfluous escaping from byte, byte str, and c str literalsDavid Tolnay-14/+94
2024-06-05Rollup merge of #123168 - joshtriplett:size-of-prelude, r=AmanieuJubilee-1/+0
2024-05-30Apply x clippy --fix and x fmtr0cky-4/+4
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-13Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the preludeJosh Triplett-1/+0
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-1/+6
2024-04-04Stabilize `Literal::c_string`Slanterns-1/+1
2024-04-04Stabilize `Literal::byte_character`Slanterns-1/+1
2024-03-23proc_macro: simplify bridge statejoboet-135/+61
2024-03-19SeqCst->Relaxed for proc_macro bridge counter.Mara Bos-2/+2
2024-03-12Fix typo in lib.rs of proc_macroJonathan Jensen-1/+1
2024-03-04Rollup merge of #120976 - matthiaskrgr:constify_TL_statics, r=lcnrMatthias Krüger-2/+2
2024-03-01Move `HandleStore` into `server.rs`.Nicholas Nethercote-86/+99
2024-02-24Forbid use of `extern "C-unwind"` inside standard libraryGary Guo-0/+1
2024-02-23Auto merge of #121454 - reitermarkus:generic-nonzero-library, r=dtolnaybors-1/+1
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+1
2024-02-22Use generic `NonZero` everywhere else.Markus Reiter-1/+1
2024-02-19Remove `RefMutL` hack in `proc_macro::bridge`Pavel Grigorenko-26/+3
2024-02-16Auto merge of #116385 - kornelski:maybe-rename, r=Amanieubors-1/+1
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-10/+11
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-10/+11
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-3/+7
2024-02-12constify a couple thread_local staticsMatthias Krüger-2/+2
2024-02-11Rollup merge of #119449 - Nilstrieb:library-clippy, r=cuviperMatthias Krüger-0/+4
2024-01-31Switch OwnedStore handle count to AtomicU32GnomedDev-10/+10
2024-01-22Document `Token{Stream,Tree}::Display` more thoroughly.Nicholas Nethercote-0/+16
2024-01-21Fix `clippy::correctness` in the libraryNilstrieb-0/+4
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/+3
2023-12-11Improve `print_tts` by changing `tokenstream::Spacing`.Nicholas Nethercote-14/+12
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-11-11Rename MaybeUninit::write_sliceKornel-1/+1
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/+18