about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/errors.rs
AgeCommit message (Expand)AuthorLines
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
2024-02-06Mark "unused binding" suggestion as maybe incorrectEsteban Küber-2/+2
2024-01-30Remove `ffi_returns_twice` featureclubby789-7/+0
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-47/+47
2024-01-10Stop mentioning internal lang items in no_std binary errorsNilstrieb-0/+6
2024-01-08Remove `DiagnosticBuilder::delay_as_bug_without_consuming`.Nicholas Nethercote-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-19/+19
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-46/+28
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-10/+10
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-5/+5
2023-11-28Yeet E0744Michael Goulet-9/+0
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-4/+0
2023-10-31Auto merge of #117377 - dtolnay:deprecatedsince, r=cjgillotbors-10/+0
2023-10-30Fix #117284, Fix unused variables lint issue for args in macroyukang-6/+15
2023-10-29Delete unused InvalidDeprecationVersion diagnosticDavid Tolnay-10/+0