about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2023-08-17Remove some unnecessary (and badly named) local variables.Nicholas Nethercote-4/+3
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-15/+18
2023-08-04Auto merge of #114104 - oli-obk:syn2, r=compiler-errorsbors-14/+19
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-08-03Remove `MacDelimiter`.Nicholas Nethercote-1/+2
2023-08-01Auto merge of #114273 - nnethercote:move-doc-comment-desugaring, r=petrochenkovbors-12/+16
2023-07-31Remove a `bool` for color in favor of the `WriteColor` trait wrapping colored...Oli Scherer-4/+18
2023-07-31Use builder pattern instead of lots of arguments for `EmitterWriter::new`Oli Scherer-14/+5
2023-07-31Remove `desugar_doc_comments` arg from `Parser::new()`.Nicholas Nethercote-4/+9
2023-07-31No need to desugar doc comments when parsing decl macro definitions.Nicholas Nethercote-1/+1
2023-07-31Reflow an overlong comment.Nicholas Nethercote-2/+2
2023-07-31Remove more unnecessary `return` keywords.Nicholas Nethercote-6/+5
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-24/+23
2023-07-28Parse generic const itemsLeón Orell Valerian Liehr-1/+10
2023-07-28Auto merge of #114115 - nnethercote:less-token-tree-cloning, r=petrochenkovbors-34/+31
2023-07-27Remove `Iterator` impl for `TokenTreeCursor`.Nicholas Nethercote-5/+5
2023-07-27Avoid some token tree cloning in decl macro parsing.Nicholas Nethercote-23/+23
2023-07-27Replace `into_trees` with `trees` in a test.Nicholas Nethercote-3/+2
2023-07-27Simplify the `ttdelim_span` test.Nicholas Nethercote-3/+1
2023-07-26Squelch a noisy rustc_expand unittestEric Huss-24/+57
2023-07-25Use a builder instead of boolean/option argumentsOli Scherer-1/+1
2023-07-20Don't translate compiler-internal bug messagesOli Scherer-1/+1
2023-07-20Auto merge of #108714 - estebank:ice_dump, r=oli-obkbors-1/+1
2023-07-19Make it clearer that edition functions are >=, not ==Michael Goulet-1/+1
2023-07-19On nightly, dump ICE backtraces to diskEsteban Küber-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-23/+26
2023-07-03perform TokenStream replacement in-place when possible in expand_macroThe 8472-2/+1
2023-06-28Rollup merge of #111571 - jhpratt:proc-macro-span, r=m-ou-seDylan DPC-12/+11
2023-06-27Rollup merge of #113084 - WaffleLapkin:less_map_or, r=NilstriebMatthias Krüger-1/+1
2023-06-27Simplify some conditionsMaybe Waffle-1/+1
2023-06-21Fix msg passed to span_bugRaminder Singh-1/+1
2023-06-20Add `Span::{line, column}`Jacob Pratt-0/+10
2023-06-20`Span::{before, after}` → `Span::{start, end}`Jacob Pratt-2/+2
2023-06-20Remove `LineColumn`, `Span::start`, `Span::end`Jacob Pratt-12/+1
2023-06-16Add `SyntaxContext::is_root`Maybe Waffle-2/+2
2023-06-10expand: Change how `#![cfg(FALSE)]` behaves on crate rootVadim Petrochenkov-7/+21
2023-06-08Rollup merge of #112396 - WaffleLapkin:track_more_diagnostics, r=compiler-errorsGuillaume Gomez-0/+5
2023-06-07Track more diagnostics in `rustc_expand`Maybe Waffle-0/+5
2023-06-07Auto merge of #109005 - Nilstrieb:dont-forgor-too-much-from-cfg, r=petrochenkovbors-12/+61
2023-06-07feat(expand): emit note for doc comment in macro matcherbohan-11/+35
2023-06-06fix(expand): prevent infinity loop in macro containing only "///"bohan-0/+2
2023-06-01Remember names of `cfg`-ed out items to mention them in diagnosticsNilstrieb-12/+61
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-8/+8
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-5/+5
2023-05-19fix: emit error when fragment is `MethodReceiverExpr` and items is emptybohan-1/+5
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-13/+19
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-6/+6
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-0/+6
2023-05-04Auto merge of #111014 - klensy:no-rc, r=WaffleLapkinbors-11/+12
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-17/+17