summary refs log tree commit diff
path: root/compiler/rustc_passes/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-10-12Rollup merge of #131567 - CastilloDel:reject-unstable-with-accepted-features,...Matthias Krüger-0/+11
2024-10-12Emit an error for unstable attributes that reference already stable featuresCastilloDel-0/+11
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-2/+1
2024-10-06remove checks that are now performed during macro expansion of `naked_asm!`Folkert de Vries-15/+0
2024-10-06disallow `asm!` in `#[naked]` functionsFolkert de Vries-4/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-10/+6
2024-09-13Remove unnecessary lifetime from `FeaturePreviouslyDeclared`.Nicholas Nethercote-2/+2
2024-09-10disallow `naked_asm!` outside of `#[naked]` functionsFolkert de Vries-0/+7
2024-09-01Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU"Jakub Beránek-9/+0
2024-08-29Add `warn(unreachable_pub)` to `rustc_passes`.Nicholas Nethercote-183/+183
2024-08-28Implement RFC 3525.Luca Versari-0/+9
2024-08-26Rollup merge of #129544 - mu001999-contrib:dead-code/clean, r=compiler-errorsMatthias Krüger-7/+0
2024-08-25Removes dead code from the compilermu001999-7/+0
2024-08-24New `#[rustc_pub_transparent]` attributePavel Grigorenko-0/+9
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+2
2024-08-18Check that `#[may_dangle]` is properly appliedGoldstein-0/+7
2024-08-17Emit an error for invalid use of the linkage attributeShina-0/+9
2024-08-03Assert that all attributes are actually checked via `CheckAttrVisitor` and ar...Oli Scherer-0/+7
2024-07-31Emit an error if `#[optimize]` is applied to an incompatible itemclubby789-0/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+6
2024-07-27switch to an allowlist approachFolkert-2/+3
2024-07-16improve error message when `#[naked]` is used with `#[track-caller] and `#[ta...Folkert-1/+1
2024-07-16improve error message when `#[naked]` is used with `#[inline]`Folkert-14/+10
2024-07-10Report usage of lib features in ast validationMichael Goulet-8/+0
2024-06-29Rollup merge of #127118 - surechen:fix_126789, r=jieyouxuMatthias Krüger-0/+3
2024-06-29Show `used attribute`'s kind for user when find it isn't applied to a `static...surechen-0/+3
2024-06-24coverage: Always error on `#[coverage(..)]` in unexpected placesZalathar-14/+2
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-10/+1
2024-06-19Rollup merge of #124580 - gurry:124556-suggest-remove-tuple-field, r=jackh726León Orell Valerian Liehr-6/+13
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-7/+7
2024-06-06Error on unsafe on non-unsafe attributecarbotaniuman-1/+10
2024-05-23Rollup merge of #123623 - surechen:fix_123261, r=estebankMatthias Krüger-2/+2
2024-05-22For OutsideLoop we should not suggest add 'block label in if block, or we wii...surechen-2/+2
2024-05-21Move `#[do_not_recommend]` to the `#[diagnostic]` namespaceGeorg Semmler-5/+2
2024-05-13Suggest removing unused tuple fields if they are the last fieldsGurinder Singh-6/+13
2024-05-08Fix Error Messages for `break` Inside CoroutinesVeera-4/+6
2024-05-04Various improvements to entrypoint codeNilstrieb-16/+0
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-7/+0
2024-04-23Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwcoLeón Orell Valerian Liehr-1/+1
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-1/+1
2024-04-17weak lang items are not allowed to be #[track_caller]Ralf Jung-0/+10
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-4/+4
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-12/+12
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticSymbolList` as `DiagSymbolList`.Nicholas Nethercote-5/+5
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-13/+12
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-4/+7
2024-02-08Rollup merge of #120734 - nnethercote:SubdiagnosticMessageOp, r=compiler-errorsMatthias Krüger-1/+2
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-1/+2
2024-02-07Rollup merge of #120470 - estebank:issue-54196, r=compiler-errorsGuillaume Boisseau-2/+2