about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-01-10mir_transform: implement forced inliningDavid Wood-1/+27
2024-11-12Validate and test `-Zmir-enable-passes`clubby789-0/+6
2024-10-08coverage. Warn about too many test vectorszhuyunxing-0/+8
2024-10-06Auto merge of #130540 - veera-sivarajan:fix-87525, r=estebankbors-0/+7
2024-10-05Add a Lint for Pointer to Integer Transmutes in ConstsVeera-0/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-1/+1
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-1/+1
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-14/+8
2024-04-03Remove MIR unsafe checkMatthew Jasper-169/+2
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-5/+5
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-4/+4
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-5/+5
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-3/+3
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-8/+8
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-0/+3
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-1/+1
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-2/+2
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-3/+3
2024-01-23Avoid some packing/unpacking of the AssertLint enumOli Scherer-24/+18
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-1/+1
2024-01-08Remove `DiagnosticBuilderState`.Nicholas Nethercote-2/+1
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-12/+12
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-4/+4
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-2/+2
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-6/+3
2023-12-18Rename `DiagnosticBuilder::handler` as `DiagnosticBuilder::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-3/+6
2023-12-16Simplify lint decorator derive tooMichael Goulet-17/+3
2023-12-14Avoid `struct_diagnostic` where possible.Nicholas Nethercote-1/+1
2023-12-04De-genericize some `IntoDiagnostic` impls.Nicholas Nethercote-3/+3
2023-11-27Print list of missing target features when calling a function with target fea...Eduardo Sánchez Muñoz-46/+79
2023-09-23Do not construct def_path_str for MustNotSuspend.Camille GILLOT-7/+27
2023-09-06Don't report any errors in `lower_intrinsics`. They should have been typecked...Oli Scherer-7/+0
2023-06-13Auto merge of #112017 - Nemo157:unsafe-block-rustfix, r=eholkbors-5/+20
2023-06-13Add note about unsafe functions body not being unsafeWim Looman-2/+8
2023-06-13Hide suggestion to wrap function in unsafe blockWim Looman-1/+1
2023-06-13Add MVP suggestion for `unsafe_op_in_unsafe_fn`Léo Lanteri Thauvin-5/+14
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-2/+9
2023-05-02Migrate `mir_transform` to translatable diagnosticsclubby789-0/+245