summary refs log tree commit diff
path: root/compiler/rustc_session/src/parse.rs
AgeCommit message (Expand)AuthorLines
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
2023-12-03rustc_session: Address all `rustc::potential_query_instability` lintsMartin Nordholts-0/+3
2023-12-01Reduce `pub` exposure.Nicholas Nethercote-1/+1
2023-10-30Make `Cfg` and `CheckCfg` non-generic.Nicholas Nethercote-2/+2
2023-10-28Clean up config mess.Nicholas Nethercote-10/+5
2023-10-28Change `CrateConfig` from `FxIndexSet` to `FxHashSet`.Nicholas Nethercote-3/+3
2023-10-16Rename `ACTIVE_FEATURES` as `UNSTABLE_FEATURES`.Nicholas Nethercote-2/+2
2023-08-22unknown unstable lint command linemojave2-5/+12
2023-08-13Remove reached_eof from ParseSessbjorn3-4/+1
2023-07-25Use a builder instead of boolean/option argumentsOli Scherer-8/+4
2023-07-25Remove some arguments that are always the sameOli Scherer-19/+3
2023-07-19On nightly, dump ICE backtraces to diskEsteban Küber-2/+11
2023-07-18Add `#[track_caller]` to lint related diagnostic functionsMaybe Waffle-0/+9
2023-06-27Simplify some conditionsMaybe Waffle-7/+0
2023-05-31Rollup merge of #111975 - jyn514:normalization, r=cjgillotMatthias Krüger-0/+1
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2