about summary refs log tree commit diff
path: root/compiler/rustc_session/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-08-28Improve error messages around invalid literals in attribute argumentsJonathan Brouwer-10/+14
2025-08-22Migrate `BuiltinLintDiag::UnexpectedBuiltinCfg` to use `LintDiagnostic` directlyJosh Triplett-1/+11
2025-08-17Add `-Zindirect-branch-cs-prefix` optionMiguel Ojeda-0/+4
2025-06-19move -Ctarget-feature handling into shared codeRalf Jung-17/+0
2025-06-09-Zretpoline and -Zretpoline-external-thunk flags (target modifiers) to enable...Andrew Zhogin-0/+17
2025-04-06Auto merge of #138947 - madsmtm:refactor-apple-versions, r=Noratriebbors-1/+9
2025-04-05KCFI: Add KCFI arity indicator supportRamon de C Valle-0/+4
2025-04-04refactor: Move env parsing of deployment target to rustc_sessionMads Marquart-1/+9
2025-02-15Reject macro calls inside of `#![crate_name]`León Orell Valerian Liehr-15/+0
2025-02-15Clean up rustc_session::output::{find,validate}_crate_nameLeón Orell Valerian Liehr-11/+5
2025-02-09Emit an error if `-Zdwarf-version=1` is requestedWesley Wiser-0/+1
2024-12-02rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973)Andrew Zhogin-0/+4
2024-11-26Remove -Zfuel.Camille GILLOT-6/+0
2024-11-02Rename target triple to target tuple in many places in the compilerNoratrieb-4/+4
2024-10-18rust_for_linux: -Zregparm=<N> commandline flag for X86 (#116972)Andrew Zhogin-0/+10
2024-09-15Rollup merge of #129897 - RalfJung:soft-float-ignored, r=UrgauMatthias Krüger-0/+11
2024-09-10Add -Z small-data-thresholdPaul Menage-0/+6
2024-09-03deprecate -Csoft-float because it is unsound (and not fixable)Ralf Jung-0/+11
2024-08-06-Zembed-source: Don't try to warn about incompatible codegen backendsMrmaxmeier-4/+0
2024-07-29Add `-Z embed-source=yes` to embed source code in DWARF debug infoMrmaxmeier-0/+14
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+5
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-3/+3
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-1/+1
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-1/+1
2024-03-29KCFI: Require -C panic=abortMatthew Maurer-0/+4
2024-03-20Rollup merge of #122748 - nnethercote:rustc_session-pub, r=jackh726Matthias Krüger-104/+104
2024-03-20Reduce `pub` usage in `rustc_session`.Nicholas Nethercote-104/+104
2024-03-18Provide structured suggestion for `#![feature(foo)]`Esteban Küber-0/+12
2024-03-13Make incremental sessions identity no longer depend on the crate names provid...John Kåre Alsaker-1/+8
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-4/+4
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-3/+3
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-3/+3
2024-02-22Make some `IntoDiagnostic` impls generic.Nicholas Nethercote-4/+4
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-2/+2
2024-02-15Use generic `NonZero` internally.Markus Reiter-2/+2
2024-02-15Add suffixes to `LitError`.Nicholas Nethercote-11/+7
2024-02-15Make `report_lit_error` return `ErrorGuaranteed`.Nicholas Nethercote-20/+23
2024-02-15Remove `LitError::LexerError`.Nicholas Nethercote-3/+0
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-4/+2
2024-01-18Rollup merge of #119172 - nnethercote:earlier-NulInCStr, r=petrochenkovMatthias Krüger-14/+1
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-6/+9
2024-01-13Add suggestion to upgrade the compilerGeorge-lewis-0/+16
2024-01-12Detect `NulInCStr` error earlier.Nicholas Nethercote-14/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-4/+3
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-1/+1
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-11/+12
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-7/+2
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-4/+8