about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
AgeCommit message (Expand)AuthorLines
2023-12-13Auto merge of #117050 - c410-f3r:here-we-go-again, r=petrochenkovbors-0/+126
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-0/+3
2023-12-03Detect attempts to expand a macro to a match arm againNadrieril-0/+3
2023-12-01Attempt to try to resolve blocking concernsCaio-0/+126
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-8/+8
2023-09-07Enable incremental-relative-spans by default.Camille GILLOT-1/+1
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-12/+9
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-2/+2
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-5/+5
2023-06-10expand: Change how `#![cfg(FALSE)]` behaves on crate rootVadim Petrochenkov-4/+16
2023-06-01Remember names of `cfg`-ed out items to mention them in diagnosticsNilstrieb-5/+44
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-3/+3
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-1/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-05-01Rip it outNilstrieb-3/+0
2023-03-23rustc_interface: Add a new query `pre_configure`Vadim Petrochenkov-1/+9
2023-03-23expand: Pass `ast::Crate` by reference to AST transforming passesVadim Petrochenkov-3/+3
2023-03-08Rename `MapInPlace` as `FlatMapInPlace`.Nicholas Nethercote-1/+1
2023-01-17`rustc_expand`: remove `ref` patternsMaybe Waffle-8/+8
2022-12-25Only enable relative span hashing on nightly.Camille GILLOT-1/+1
2022-12-25Enable relative span hashing.Camille GILLOT-1/+1
2022-12-10Migrate parts of `rustc_expand` to session diagnosticsnils-49/+37
2022-12-07Use `Symbol` for the crate name instead of `String`/`str`Oli Scherer-1/+1
2022-11-29Avoid unnecessary `MetaItem`/`Attribute` conversions.Nicholas Nethercote-1/+1
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-4/+7
2022-11-22Rollup merge of #104638 - Nilstrieb:macro-diagnostics, r=compiler-errorsManish Goregaokar-1/+1
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-6/+6
2022-11-20Move macro_rules diagnostics to diagnostics moduleNilstrieb-1/+1
2022-11-12Rollup merge of #102049 - fee1-dead-contrib:derive_const, r=oli-obkDylan DPC-6/+7
2022-10-23Workaround unstable stmt_expr_attributes for method receiver expressions.Camille GILLOT-0/+63
2022-10-18Fix the bug of next_point in spanyukang-4/+3
2022-10-14more dupe word typosRageking8-1/+1
2022-09-20Add the `#[derive_const]` attributeDeadbeef-6/+7
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-6/+10
2022-08-17Box the `MacCall` in various types.Nicholas Nethercote-12/+12
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-1/+1
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-1/+1
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-2/+5
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-70/+16
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-2/+2
2022-04-07Kickstart the inner usage of macro_metavar_exprCaio-3/+1
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-15Auto merge of #94584 - pnkfelix:inject-use-suggestion-sites, r=ekuberbors-5/+5
2022-03-03Associate multiple with a crate too.Felix S. Klock II-4/+4
2022-03-03refactor: prepare to associate multiple spans with a module.Felix S. Klock II-3/+3
2022-03-03Fix invalid lint_node_id being put on a removed stmtLoïc BRANSTETT-2/+2
2022-03-03Rollup merge of #94433 - Urgau:check-cfg-allowness, r=petrochenkovDylan DPC-10/+13