about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
AgeCommit message (Expand)AuthorLines
2024-05-08Rollup merge of #123344 - pietroalbini:pa-unused-imports, r=NilstriebMatthias Krüger-2/+2
2024-05-03Introduce `Invocation::span_mut`.Nicholas Nethercote-5/+9
2024-05-03Replace a hard-to-read line.Nicholas Nethercote-1/+2
2024-05-03Tweak `fully_expand_fragment` loop.Nicholas Nethercote-11/+9
2024-05-03Remove unnecessary `pub`s.Nicholas Nethercote-5/+5
2024-05-03Fix some comment formatting.Nicholas Nethercote-2/+3
2024-05-03Remove an unnecessary re-export of `rustc_span::hygiene`.Nicholas Nethercote-1/+1
2024-04-27Rollup merge of #124382 - petrochenkov:itemvisit, r=lcnrMatthias Krüger-3/+3
2024-04-26Introduce `DeriveResolution`.Nicholas Nethercote-1/+1
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-3/+3
2024-04-14store the span of the nested part of the use tree in the astPietro Albini-2/+2
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-2/+2
2024-03-14Rename `ast::StmtKind::Local` into `ast::StmtKind::Let`Guillaume Gomez-1/+1
2024-03-13delay expand macro bang when there has indeterminate pathbohan-2/+11
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-0/+3
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+3
2024-03-05Move visitor utils to `rustc_ast_ir`Jason Newcomb-2/+1
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-3/+3
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-14/+10
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-33/+49
2024-02-18Allow AST and HIR visitors to return `ControlFlow`Jason Newcomb-8/+8
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-7/+6
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-6/+6
2023-12-22update cfg(bootstrap)sPietro Albini-126/+0
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