about summary refs log tree commit diff
path: root/compiler/rustc_session/src/parse.rs
AgeCommit message (Expand)AuthorLines
2025-08-22Refactor lint buffering to avoid requiring a giant enumJosh Triplett-7/+7
2025-07-28use let chains in mir, resolve, targetKivooeo-4/+4
2025-07-15Fix CItiif-1/+1
2025-07-15Implement other logicstiif-0/+40
2025-06-19Extract SilentEmitterCameron Steffen-7/+1
2025-06-19Rename SilentEmitter -> FatalOnlyEmitterCameron Steffen-3/+3
2025-06-19Extract Translator structCameron Steffen-5/+7
2025-06-09refactor `AttributeGate` and `rustc_attr!` to emit notes during feature chec...mejrs-3/+6
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2025-02-10Stop using span hack for contracts feature gatingMichael Goulet-5/+0
2025-02-06Auto merge of #136471 - safinaskar:parallel, r=SparrowLiibors-8/+9
2025-02-03Separate contract feature gates for the internal machineryFelix S. Klock II-0/+5
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-8/+9
2025-02-02Replace ParseSess::set_dcx with DiagCtxt::set_emitterbjorn3-4/+0
2025-02-02Use fallback fluent bundle from inner emitter in SilentEmitterbjorn3-5/+2
2025-02-02Slightly simplify DiagCtxt::make_silentbjorn3-3/+2
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
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