about summary refs log tree commit diff
path: root/compiler/rustc_expand
AgeCommit message (Expand)AuthorLines
2022-06-26proc_macro: Rename ExpnContext to ExpnGlobals, and unify method on Server traitNika Layzell-17/+10
2022-06-26Auto merge of #98190 - nnethercote:optimize-derive-Debug-code, r=scottmcmbors-4/+27
2022-06-25proc_macro: remove Context trait, and put span methods directly on ServerNika Layzell-4/+4
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-24Optimize the code produced by `derive(Debug)`.Nicholas Nethercote-1/+20
2022-06-23Rename some `ExtCtxt` methods.Nicholas Nethercote-3/+7
2022-06-21Add `create_err` and `emit_err` to `ExtCtxt`beetrees-1/+12
2022-06-20Add blank lines between methods in `proc_macro_server.rs`.Nicholas Nethercote-0/+54
2022-06-20Remove `TokenStream::from_streams`.Nicholas Nethercote-2/+4
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-16Rollup merge of #97757 - xFrednet:rfc-2383-expect-with-force-warn, r=wesleywi...Matthias Krüger-1/+1
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-1/+1
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-6/+6
2022-06-12Auto merge of #98020 - TaKO8Ki:use-create-snapshot-for-diagnostic-in-rustc-ex...bors-1/+1
2022-06-12use `create_snapshot_for_diagnostic` instead of `clone`Takayuki Maeda-1/+1
2022-06-11Auto merge of #97903 - est31:unused_macro_rules_compile_error, r=petrochenkovbors-6/+41
2022-06-09Suppress the unused_macro_rules lint if malformed rules are encounteredest31-4/+6
2022-06-09Never regard macro rules with compile_error! invocations as unusedest31-2/+35
2022-06-09Rollup merge of #95860 - c410-f3r:stabilize-meta, r=joshtriplettYuki Okushi-2/+0
2022-06-08Fix typo: fo->forChayim Refael Friedman-1/+1
2022-06-07Stabilize $$ in Rust 1.63.0Caio-2/+0
2022-06-02Basic compiler infraCaio-1/+5
2022-05-29Rollup merge of #97536 - est31:remove_unused_lifetimes, r=compiler-errorsMichael Goulet-3/+3
2022-05-29Remove unused lifetimes from expand_macroest31-3/+3
2022-05-29Rollup merge of #97478 - JohnTitor:fixme-fn-decl, r=compiler-errorsGuillaume Gomez-1/+1
2022-05-28Remove FIXME on `ExtCtxt::fn_decl()`Yuki Okushi-1/+1
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-4/+4
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-19/+18
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-33/+32
2022-05-18use `CursorRef` more, to not to clone `Tree`sklensy-18/+20
2022-05-13Use pluralize in one instanceest31-2/+2
2022-05-13Improve name and documentation of generic_extensionest31-3/+4
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-12/+30
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-119/+70
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-5/+6
2022-05-05Implement the unused_macro_rules lintest31-12/+30
2022-05-05Auto merge of #91779 - ridwanabdillahi:natvis, r=michaelwoeristerbors-2/+39
2022-05-04Auto merge of #96683 - nnethercote:speed-up-Token-ident-lifetime, r=petrochenkovbors-4/+4
2022-05-04Fix spelling of an identifier.Nicholas Nethercote-4/+4
2022-05-03Add support for a new attribute `#[debugger_visualizer]` to support embedding...ridwanabdillahi-2/+39
2022-05-02fix most compiler/ doctestsElliot Roberts-5/+6
2022-04-30Save colon span to suggest bounds.Camille GILLOT-0/+2
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-1/+1