about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/proc_macro_server.rs
AgeCommit message (Expand)AuthorLines
2022-06-25proc_macro: cache static spans in client's thread-local stateNika Layzell-15/+20
2022-06-24proc_macro: Fix expand_expr expansion of bool literalsNika Layzell-0/+4
2022-06-20Add blank lines between methods in `proc_macro_server.rs`.Nicholas Nethercote-0/+54
2022-06-20Remove `Cursor::append`.Nicholas Nethercote-3/+3
2022-06-18Auto merge of #98186 - mystor:tokenstream_as_vec_tt, r=eddybbors-44/+55
2022-06-17review fixupsNika Layzell-3/+4
2022-06-17Try to reduce codegen complexity of TokenStream's FromIterator and Extend implsNika Layzell-2/+2
2022-06-17proc_macro: reduce the number of messages required to create, extend, and ite...Nika Layzell-44/+54
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-1/+1
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-6/+4
2022-05-18use `CursorRef` more, to not to clone `Tree`sklensy-1/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-1/+1
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-15/+15
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-04-04Rollup merge of #95343 - dtolnay:literals, r=petrochenkovDylan DPC-8/+8
2022-03-26Use str and char's Debug impl to format literalsDavid Tolnay-8/+8
2022-03-26proc-macro: Stop wrapping `ident` matchers into groupsVadim Petrochenkov-106/+4
2022-03-20Take &mut Diagnostic in emit_diagnostic.Camille GILLOT-2/+2
2022-03-03all: fix some typoscuishuang-1/+1
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+3
2022-02-19Adopt let else in more placesest31-3/+2
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-3/+3
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2021-12-04Use IntoIterator for array impl everywhere.Mara Bos-3/+2
2021-11-12proc_macro: Add an expand_expr method to TokenStreamNika Layzell-55/+107
2021-11-08Don't abort compilation after giving a lint errorJoshua Nelson-1/+1
2021-09-22Remove Symbol::lenbjorn3-1/+1
2021-09-11Auto merge of #84373 - cjgillot:resolve-span, r=michaelwoerister,petrochenkovbors-1/+1
2021-09-10Keep a parent LocalDefId in SpanData.Camille GILLOT-1/+1
2021-09-10Rollup merge of #86165 - m-ou-se:proc-macro-span-shrink, r=dtolnayManish Goregaokar-0/+6
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-11/+12
2021-08-03Remove space after negative sign in Literal to_stringDavid Tolnay-0/+3
2021-08-03Auto merge of #87262 - dtolnay:negative, r=Aaron1011bors-22/+41
2021-07-25clippy::single_char_patternMatthias Krüger-1/+1
2021-07-18Support negative numbers in Literal::from_strDavid Tolnay-22/+41
2021-07-11rustc_expand: Simplify span quoting in proc macro serverVadim Petrochenkov-26/+9
2021-07-10rustc_expand: Remove redundant field from proc macro expander structuresVadim Petrochenkov-2/+2
2021-07-10rustc_span: Revert addition of `proc_macro` field to `ExpnKind::Macro`Vadim Petrochenkov-1/+1
2021-07-02add track_path::path fn for proc-macro usageBernhard Schuster-0/+4
2021-06-09Add proc_macro::Span::{before, after}.Mara Bos-0/+6
2021-05-19impl FromStr for proc_macro::LiteralDavid Tolnay-3/+28
2021-05-12Auto merge of #83813 - cbeuw:remap-std, r=michaelwoeristerbors-3/+4
2021-05-12Implement span quoting for proc-macrosAaron Hill-7/+67
2021-05-05Use local and remapped paths where appropriateAndy Wang-1/+1
2021-05-05Make local_path in RealFileName::Remapped Option to be removed in exported me...Andy Wang-0/+1
2021-05-05Rename RealFileName::Named to LocalPath and Devirtualized to RemappedAndy Wang-2/+2
2021-03-19Extend `proc_macro_back_compat` lint to `js-sys`Aaron Hill-4/+30
2021-03-18Extend `proc_macro_back_compat` lint to `actix-web`Aaron Hill-17/+29
2021-03-15Extend `proc_macro_back_compat` lint to `procedural-masquerade`Aaron Hill-1/+1
2021-03-14Introduce `proc_macro_back_compat` lint, and emit for `time-macros-impl`Aaron Hill-4/+66