summary refs log tree commit diff
path: root/compiler/rustc_expand/src/base.rs
AgeCommit message (Expand)AuthorLines
2024-03-13delay expand macro bang when there has indeterminate pathbohan-24/+71
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-0/+2
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+2
2024-03-05Rollup merge of #121829 - nnethercote:dummy-tweaks-2, r=petrochenkovMatthias Krüger-2/+12
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-03-05Decouple `DummyAstNode` and `DummyResult`.Nicholas Nethercote-2/+12
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-11/+7
2024-03-04Rename a misnamed `Session` parameter.Nicholas Nethercote-4/+4
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-47/+52
2024-02-25Add `ast::ExprKind::Dummy`Lieselotte-0/+3
2024-02-20Auto merge of #120576 - nnethercote:merge-Diagnostic-DiagnosticBuilder, r=dav...bors-0/+2
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-0/+2
2024-02-18Allow AST and HIR visitors to return `ControlFlow`Jason Newcomb-1/+1
2024-02-16Rollup merge of #121109 - nnethercote:TyKind-Err-guar-2, r=oli-obkGuillaume Gomez-3/+6
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-1/+1
2024-02-15Add an `ErrorGuaranteed` to `ast::TyKind::Err`.Nicholas Nethercote-3/+6
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-26Builtin macros effectively have implicit #[collapse_debuginfo(yes)] attributeAndrew Zhogin-1/+7
2024-01-19Auto merge of #120121 - matthiaskrgr:rollup-razammh, r=matthiaskrgrbors-3/+3
2024-01-18Fix typo in documentation in base.rskapilsinha-3/+3
2024-01-17Improved collapse_debuginfo attribute, added command-line flag (no|external|yes)Andrew Zhogin-2/+54
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-6/+6
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-2/+2
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+2
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-48/+12
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-6/+3
2023-12-19Introduce `DiagCtxt::struct_bug`.Nicholas Nethercote-0/+1
2023-12-18Use `.into_diagnostic()` less.Nicholas Nethercote-3/+2
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-10/+10
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-5/+5
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-15Change `msg: impl Into<String>` for bug diagnostics.Nicholas Nethercote-1/+1
2023-12-10remove redundant importssurechen-1/+1
2023-12-04Remove some unused code, and downgrade some `pub`s.Nicholas Nethercote-5/+0
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-8/+7
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-6/+6
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-1/+4
2023-07-20Don't translate compiler-internal bug messagesOli Scherer-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+1
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-01Remember names of `cfg`-ed out items to mention them in diagnosticsNilstrieb-1/+3
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-3/+3
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+2
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-5/+6
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-6/+6
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1