about summary refs log tree commit diff
path: root/compiler/rustc_session/src/parse.rs
AgeCommit message (Expand)AuthorLines
2024-11-09give a hint which feature is missingRalf Jung-0/+1
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-3/+3
2024-10-05Handle `clippy` cases of `rustc::potential_query_instability` lintismailarilik-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-09-13Add set_dcx to ParseSessVetle Rasmussen-0/+4
2024-08-07Make `Span` optional in `BufferedEarlyLint`Urgau-1/+11
2024-07-29Reformat `use` declarations.Nicholas Nethercote-11/+11
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-6/+6
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-4/+4
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-4/+8
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-17/+0
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-4/+1
2024-03-19conditionally ignore fatal diagnostic in the SilentEmitterYacin Tmimi-1/+6
2024-03-18Provide structured suggestion for `#![feature(foo)]`Esteban Küber-5/+8
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-0/+1
2024-03-06Add missing `#[rustc_lint_diagnostics]` attributes.Nicholas Nethercote-0/+1
2024-03-05errors: share `SilentEmitter` between rustc and rustfmtDavid Wood-6/+12
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-3/+3
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-6/+6
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-5/+4
2024-03-04Remove `file_path_mapping` param from `ParseSess::new`.Nicholas Nethercote-2/+2
2024-02-29Rollup merge of #121783 - nnethercote:emitter-cleanups, r=oli-obkGuillaume Gomez-6/+13
2024-02-29Inline and remove `HumanEmitter::stderr`.Nicholas Nethercote-4/+7
2024-02-29Rename `DiagCtxt::with_emitter` as `DiagCtxt::new`.Nicholas Nethercote-4/+4
2024-02-29Inline and remove `DiagCtxt::with_tty_emitter`Nicholas Nethercote-4/+8
2024-02-29Overhaul how stashed diagnostics work, again.Nicholas Nethercote-2/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-6/+5
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-4/+9
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-5/+5
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-5/+5
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-6/+6
2024-02-03`SilentEmitter::fatal_note` doesn't need to be optional.Nicholas Nethercote-1/+1
2024-01-23Rename `struct_lint_level` as `lint_level`.Nicholas Nethercote-1/+1
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-3/+2
2024-01-13Add todo commentGeorge-lewis-0/+1
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-11/+18
2024-01-13Add suggestion to upgrade the compilerGeorge-lewis-0/+3
2024-01-11Change how `force-warn` lint diagnostics are recorded.Nicholas Nethercote-5/+1
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-72/+2
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-10/+4
2023-12-19Add `EmitResult` associated type to `EmissionGuarantee`.Nicholas Nethercote-8/+11
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-5/+5
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-4/+4
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `SilentEmitter::fatal_handler` as `SilentEmitter::fatal_dcx`.Nicholas Nethercote-2/+2
2023-12-18Rename `ParseSess::with_span_handler` as `ParseSess::with_dcx`.Nicholas Nethercote-3/+3
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-12/+11
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-6/+6
2023-12-14Avoid `struct_diagnostic` where possible.Nicholas Nethercote-10/+1