about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-08-15Implement `#[derive(From)]`Jakub Beránek-0/+18
2025-08-14Remove the old target checking logicJonathan Brouwer-8/+0
2025-07-13make `cfg_select` a builtin macroFolkert de Vries-0/+18
2025-06-25Rollup merge of #142724 - xizheyin:avoid_overwrite_args, r=oli-obkJana Dönszelmann-0/+1
2025-06-25Add runtime check to avoid overwrite arg easily in diag and store and restore...xizheyin-0/+1
2025-06-24Rollup merge of #142704 - tgross35:remove-concat_idents, r=fee1-deadGuillaume Gomez-21/+0
2025-06-24Remove the deprecated `concat_idents!` macroTrevor Gross-21/+0
2025-06-19Improve diagnostics for `concat_bytes!` with C string literalsTrevor Gross-0/+9
2025-05-28Rollup merge of #140697 - Sa4dUs:split-autodiff, r=ZuseZ4Trevor Gross-8/+0
2025-05-27move asm parsing code into `rustc_parse`Folkert de Vries-70/+9
2025-05-27support `#[cfg(...)]` on arguments to the `asm!` macrosFolkert de Vries-0/+7
2025-05-21Disable autodiff bootstrappingMarcelo Domínguez-8/+0
2025-05-18add `AsmOptions` with some named fieldsFolkert de Vries-2/+2
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-7/+3
2025-04-13Improve `-Z crate-attr` diagnosticsjyn-7/+0
2025-04-03add the autodiff batch mode frontendManuel Drehwald-0/+8
2025-03-11Fix ICE for invalid return activity and proper error handlingMarcelo Domínguez-0/+9
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