about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/proc_macro.rs
AgeCommit message (Expand)AuthorLines
2025-08-09remove `P`Deadbeef-2/+1
2025-05-27Do not get proc_macro from the sysroot in rustcbjorn3-1/+1
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-1/+1
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2025-02-22Fix overcapturing, unsafe extern blocks, and new unsafe opsMichael Goulet-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-13Remove unnecessary lifetimes from `rustc_expand`.Nicholas Nethercote-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+3
2024-06-05Remove `stream_to_parser`.Nicholas Nethercote-3/+2
2024-05-28Convert `proc_macro_back_compat` lint to an unconditional error.Nicholas Nethercote-14/+7
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2024-02-20make "proc-macro derive panicked" translatableTshepang Mbambo-5/+8
2024-02-19make "custom attribute panicked" translatableTshepang Mbambo-5/+6
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-1/+1
2024-01-09Rollup merge of #119740 - Mark-Simulacrum:drop-crossbeam, r=davidtwcoMatthias Krüger-8/+8
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2024-01-07Remove crossbeam-channelMark Rousskov-8/+8
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+2
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-4/+4
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-2/+2
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-2/+2
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-1/+1
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-2/+2
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2
2023-03-31Remove an unnecessary use of `with_session_globals`.Nicholas Nethercote-3/+7
2023-03-04rustc_expand: make proc-macro derive error translatableTshepang Mbambo-1/+1
2023-02-24make "proc macro panicked" translatableTshepang Mbambo-5/+7
2022-09-20Add the `#[derive_const]` attributeDeadbeef-0/+1
2022-07-30Auto merge of #99887 - nnethercote:rm-TreeAndSpacing, r=petrochenkovbors-2/+2
2022-07-29proc_macro: use crossbeam channels for the proc_macro cross-thread bridgeNika Layzell-7/+37
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-2/+2
2022-05-27proc_macro: don't pass a client-side function pointer through the server.Eduard-Mihai Burtescu-3/+3
2022-05-27Rename `ProcMacroDerive` as `DeriveProcMacro`.Nicholas Nethercote-2/+2
2022-05-27Rename `ProcMacro` trait as `BangProcMacro`.Nicholas Nethercote-1/+1
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-1/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-20/+11
2022-04-22start tracking proc-macros expansion spans in the self-profilerRémy Rakic-3/+12
2022-04-07Shrink `Nonterminal`.Nicholas Nethercote-1/+1
2022-04-05track proc-macro expansions in the self-profilerRémy Rakic-10/+18
2022-03-16rustc_error: make ErrorReported impossible to constructmark-4/+2
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-5/+5
2021-11-12proc_macro: Add an expand_expr method to TokenStreamNika Layzell-13/+15
2021-07-10rustc_expand: Remove redundant field from proc macro expander structuresVadim Petrochenkov-7/+3
2021-05-12Implement span quoting for proc-macrosAaron Hill-3/+7
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-1/+1
2021-03-15Extend `proc_macro_back_compat` lint to `procedural-masquerade`Aaron Hill-1/+2
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-92/+2
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-1/+2
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-6/+1