about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-02-27switch #[cfg(not(llvm_enzyme))] to cfg!(llvm_enzyme)Vayun Biyani-4/+0
2024-12-30add suggestion for wrongly ordered format parametersDavis Muro-0/+11
2024-12-21Use E0665 for missing `#[default]` errorEsteban Küber-9/+4
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-09Disallow `#[default] Variant {}` regardless of feature flagEsteban Küber-0/+1
2024-10-11Single commit implementing the enzyme/autodiff frontendManuel Drehwald-0/+72
2024-10-07Rollup merge of #128721 - Brezak:pointee-in-strange-places, r=pnkfelixJubilee-0/+7
2024-10-06Check that `#[pointee]` is applied only to generic argumentsBrezak-0/+7
2024-10-06implement `naked_asm` macroFolkert-12/+15
2024-08-16Add `warn(unreachable_pub)` to `rustc_builtin_macros`.Nicholas Nethercote-1/+1
2024-08-04Rollup merge of #128305 - folkertdev:asm-parser-unsupported-operand, r=AmanieuMatthias Krüger-0/+9
2024-07-30Add toggle for `parse_meta_item` unsafe parsingcarbotaniuman-7/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+5
2024-07-28improve error message when global asm uses inline asm operandsFolkert-0/+9
2024-07-28Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3Matthias Krüger-0/+10
2024-07-27switch to an allowlist approachFolkert-1/+1
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-0/+11
2024-07-17add error message when `#[naked]` is used with `#[test]`Folkert-0/+10
2024-06-25Migrate some rustc_builtin_macros to SessionDiagnostiche1pa-0/+40
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-3/+3
2024-06-06Disallow unsafe in derivecarbotaniuman-0/+7
2024-04-26Rollup merge of #124391 - nnethercote:builtin_macros-cleanups, r=fee1-deadJacob Pratt-1/+24
2024-04-26Adjust some `pub`s.Nicholas Nethercote-1/+1
2024-04-26Move some functions from `rustc_expand` to `rustc_builtin_macros`.Nicholas Nethercote-0/+23
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-1/+1
2024-04-01Fix error message for `env!` when env var is not valid Unicodebeetrees-0/+8
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-4/+4
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-5/+5
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-0/+7
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-2/+2
2024-02-29Remove unused diagnostic structr0cky-21/+0
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-14/+10
2024-02-24Forbid asm unwind to work with labelsGary Guo-0/+7
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-3/+7
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-9/+3
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-4/+4
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-3/+3
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-9/+8
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-3/+3
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-8/+12
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-7/+6
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-3/+3
2023-12-14Avoid `struct_diagnostic` where possible.Nicholas Nethercote-2/+2
2023-12-04De-genericize some `IntoDiagnostic` impls.Nicholas Nethercote-5/+5
2023-10-05Only give autofix suggestion when no named args are presentfrancorbacho-1/+1
2023-10-05Highlight redundant arguments instead of the whole format stringfrancorbacho-1/+1
2023-10-05Use diagnostic impls and add suggestions in redundant format!() argsfrancorbacho-0/+21
2023-09-06add diagnostic for raw identifiers in format stringLukas Markeffsky-12/+23
2023-07-25builtin_macros: raw str in diagnostic outputDavid Wood-26/+26
2023-06-28fix typoHe1pa-2/+2