summary refs log tree commit diff
path: root/library/proc_macro/src
AgeCommit message (Expand)AuthorLines
2024-04-18Call the panic hook for non-unwind panics in proc-macrosBen Kimock-1/+6
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
2023-06-20`Span::{before, after}` → `Span::{start, end}`Jacob Pratt-6/+6
2023-06-20Remove `LineColumn`, `Span::start`, `Span::end`Jacob Pratt-56/+1
2023-05-02fix TODO commentsDeadbeef-0/+4
2023-04-21Auto merge of #109002 - michaelvanstraten:master, r=petrochenkovbors-1/+13
2023-04-12remove some unneeded importsKaDiWa-5/+3
2023-03-11Renamed to byte_range and changed Range generics [skip ci]Michael van Straten-4/+3
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/+14
2023-02-12Auto merge of #105671 - lukas-code:depreciate-char, r=scottmcmbors-1/+0
2023-01-26Auto merge of #107318 - matthiaskrgr:rollup-776kd81, r=matthiaskrgrbors-1/+1
2023-01-16implement Hash for proc_macro::LineColumnDavid Tolnay-1/+1
2023-01-14Use associated items of `char` instead of freestanding items in `core::char`Lukas Markeffsky-1/+0
2023-01-12Improve proc macro attribute diagnosticsmejrs-0/+1
2022-12-30Replace libstd, libcore, liballoc in line comments.jonathanCogan-2/+2
2022-12-30Replace libstd, libcore, liballoc in docs.jonathanCogan-3/+3