about summary refs log tree commit diff
path: root/library/proc_macro/src
AgeCommit message (Expand)AuthorLines
2022-06-26proc_macro: Rename ExpnContext to ExpnGlobals, and unify method on Server traitNika Layzell-30/+18
2022-06-25proc_macro: remove Context trait, and put span methods directly on ServerNika Layzell-13/+9
2022-06-25proc_macro: cache static spans in client's thread-local stateNika Layzell-86/+170
2022-06-19Auto merge of #98224 - eddyb:proc-macro-spurious-repr, r=bjorn3bors-3/+0
2022-06-18proc_macro/bridge: remove `#[repr(C)]` from non-ABI-relevant types.Eduard-Mihai Burtescu-3/+0
2022-06-17review fixupsNika Layzell-67/+39
2022-06-17Move empty final TokenStream handling to server side of bridgeNika Layzell-14/+16
2022-06-17Try to reduce codegen complexity of TokenStream's FromIterator and Extend implsNika Layzell-16/+92
2022-06-17proc_macro: reduce the number of messages required to create, extend, and ite...Nika Layzell-52/+74
2022-06-16proc_macro: use macros to simplify aggregate Mark/Unmark definitionsNika Layzell-24/+34
2022-06-14proc_macro: support encoding/decoding Vec<T>Nika Layzell-0/+35
2022-06-14proc_macro: support encoding/decoding structs with type parametersNika Layzell-4/+6
2022-06-13proc_macro: bypass RandomState to remove ASLR-like effects.Eduard-Mihai Burtescu-3/+19
2022-06-07Auto merge of #95565 - jackh726:remove-borrowck-mode, r=nikomatsakisbors-1/+0
2022-06-04Auto merge of #97604 - nnethercote:inline-bridge-Buffer-methods, r=eddybbors-0/+13
2022-06-03Fully stabilize NLLJack Huey-1/+0
2022-06-02Revert #96682.Nicholas Nethercote-3/+2
2022-06-01Inline `bridge::Buffer` methods.Nicholas Nethercote-0/+13
2022-05-27proc_macro: don't pass a client-side function pointer through the server.Eduard-Mihai Burtescu-90/+163
2022-05-27Cut down `associated_item`.Nicholas Nethercote-20/+18
2022-05-27Remove unnecessary blank line.Nicholas Nethercote-1/+0
2022-05-27Rename `b` as `buf` in several places.Nicholas Nethercote-30/+30
2022-05-27Add some comments about `_marker` fields.Nicholas Nethercote-4/+14
2022-05-27Clarify a comment.Nicholas Nethercote-1/+1
2022-05-27Make `Buffer<T>` non-generic.Nicholas Nethercote-46/+46
2022-05-27Improve formatting in `associated_item!` definition.Nicholas Nethercote-24/+15
2022-05-27Add some comments.Nicholas Nethercote-0/+3
2022-05-27Fix a typo in a comment.Nicholas Nethercote-1/+1
2022-05-13Remove some unnecessary `rustc_allow_const_fn_unstable` attributes.Nicholas Nethercote-6/+0
2022-05-04Show invisible delimeters (within comments) when pretty printing.Nicholas Nethercote-2/+3
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-2/+2
2022-04-18Remove unused macro rulesest31-1/+0
2022-04-09Rollup merge of #95308 - bjorn3:more_stable_proc_macro, r=Mark-SimulacrumDylan DPC-32/+54
2022-04-06Use PhantomData directly in Bridgebjorn3-3/+11
2022-04-05trivial cfg(bootstrap) changesPietro Albini-2/+0
2022-03-25Add note about feature gatesbjorn3-0/+3
2022-03-25Avoid negative impls in the bridgebjorn3-20/+32
2022-03-25Remove usage of extern_types feature gatebjorn3-8/+8
2022-03-25Remove usage of panic_update_hook feature gatebjorn3-3/+3
2022-03-25Remove unused auto_traits feature gatebjorn3-1/+0
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-4/+4
2022-03-07Stabilize const_fn_fn_ptr_basics and const_fn_trait_boundEric Holk-2/+2
2022-01-08Change panic::update_hook to simplify usageBadel2-10/+8
2022-01-07Implement panic::update_hookBadel2-10/+12
2021-12-14made compiler happyAnuvrat-11/+10
2021-11-12proc_macro: Add an expand_expr method to TokenStreamNika Layzell-7/+42
2021-10-25Append .0 to unsuffixed float if it would otherwise become int tokenDavid Tolnay-2/+10
2021-10-10Stabilize proc_macro::is_availablebjorn3-1/+1
2021-09-10Rollup merge of #86165 - m-ou-se:proc-macro-span-shrink, r=dtolnayManish Goregaokar-0/+14
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1