summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2024-03-13delay expand macro bang when there has indeterminate pathbohan-7/+7
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-3/+3
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-5/+5
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-109/+109
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-20/+6
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-105/+107
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-10/+16
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-12/+3
2024-02-20Add newtype for raw identsclubby789-10/+16
2024-02-20Auto merge of #120576 - nnethercote:merge-Diagnostic-DiagnosticBuilder, r=dav...bors-3/+7
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-3/+7
2024-02-18Auto merge of #119673 - petrochenkov:dialoc5, r=compiler-errors,cjgillotbors-10/+45
2024-02-18Rollup merge of #121067 - tshepang:make-expand-translatable, r=fmeaseMatthias Krüger-9/+9
2024-02-18macro_rules: Preserve all metavariable spans in a global side tableVadim Petrochenkov-10/+45
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-6/+11
2024-02-16make "invalid fragment specifier" translatableTshepang Mbambo-9/+9
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-6/+11
2024-02-14Use fewer delayed bugs.Nicholas Nethercote-4/+4
2024-01-25Stop checking `err_count` in macro_rules validity checkingOli Scherer-15/+24
2024-01-19Pack the u128 in LitKind::IntJosh Stone-1/+1
2024-01-17Improved collapse_debuginfo attribute, added command-line flag (no|external|yes)Andrew Zhogin-0/+1
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-34/+37
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2
2024-01-10Shorten some error invocations.Nicholas Nethercote-2/+2
2024-01-08Auto merge of #119606 - nnethercote:consuming-emit, r=oli-obkbors-5/+5
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-5/+5
2024-01-08macro_rules: Add an expansion-local cache to span markerVadim Petrochenkov-4/+13
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-1/+1
2024-01-04macro_rules: Less hacky heuristic for using `tt` metavariable spansVadim Petrochenkov-36/+63
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+5
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-10/+16
2023-12-23Improve some names.Nicholas Nethercote-3/+3
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-3/+3
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-3/+3
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-7/+7
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-34/+30
2023-12-17Rollup merge of #118928 - EliseZeroTwo:EliseZeroTwo/fix-issue-118786, r=cjgillotMatthias Krüger-0/+7
2023-12-13fix: Overlapping spans in delimited meta-varsEliseZeroTwo-0/+7
2023-12-13Auto merge of #117050 - c410-f3r:here-we-go-again, r=petrochenkovbors-32/+65
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-32/+51
2023-12-11Improve `print_tts` by changing `tokenstream::Spacing`.Nicholas Nethercote-1/+1
2023-12-01Attempt to try to resolve blocking concernsCaio-32/+65
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-10/+7
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2
2023-12-02Rename `*note_without_error` as `*note`.Nicholas Nethercote-5/+3
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-18/+16
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-2/+8
2023-10-13Format all the let chains in compilerMichael Goulet-19/+19
2023-08-18Auto merge of #114915 - nnethercote:Nonterminal-cleanups, r=petrochenkovbors-8/+7
2023-08-18Rename `NtOrTt` as `ParseNtResult`.Nicholas Nethercote-3/+3