about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/errors.rs
AgeCommit message (Expand)AuthorLines
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
2023-10-26Tweak suggestion spans for invalid crate-level inner attributeEsteban Küber-5/+15
2023-10-24Store 'since' attribute as parsed VersionDavid Tolnay-10/+0
2023-10-19Rollup merge of #116829 - fmease:rust-aint-c, r=compiler-errorsLeón Orell Valerian Liehr-1/+8
2023-10-18Make `#[repr(Rust)]` and `#[repr(C)]` incompatible with one anotherLeón Orell Valerian Liehr-1/+8
2023-10-13Format all the let chains in compilerMichael Goulet-1/+3
2023-10-09Suggest labeling block if `break` is in bare blockEsteban Küber-0/+10
2023-09-25Gate and validate #[rustc_safe_intrinsic]León Orell Valerian Liehr-0/+9
2023-09-18Prevent using `#[target_feature]` on lang item functionsEduardo Sánchez Muñoz-0/+10
2023-09-14Auto merge of #114656 - bossmc:rework-no-coverage-attr, r=oli-obkbors-8/+8
2023-09-08Rework no_coverage to coverage(off)Andy Caldwell-8/+8