about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-05-26Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelixbors-18/+5
2024-05-22Cleanup: Fix up some diagnosticsLeón Orell Valerian Liehr-11/+17
2024-05-12Match ergonomics 2024: migration lintJules Bertholet-0/+27
2024-05-03turn pointer_structural_match into a hard errorRalf Jung-2/+5
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung-16/+0
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-2/+2
2024-04-19coverage. Add coverage-options=mcdc as gate for MC/DC instrumentzhuyunxing-0/+9
2024-04-02Fix suggestions for match non-exhaustivenessMichael Goulet-15/+8
2024-03-13Rename `RustcMatchCheckCtxt` -> `RustcPatCtxt`Nadrieril-2/+2
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-6/+6
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-6/+4
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-3/+3
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-7/+7
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-10/+7
2024-02-25make non-PartialEq-typed consts as patterns a hard errorRalf Jung-6/+8
2024-02-22Make some `IntoDiagnostic` impls generic.Nicholas Nethercote-2/+4
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-3/+11
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-9/+3
2024-02-05Rollup merge of #116284 - RalfJung:no-nan-match, r=cjgillotMatthias Krüger-3/+8
2024-01-30Remove lifetimes from some diagnostics.Nicholas Nethercote-12/+12
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-6/+6
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-32/+32
2024-01-26remove illegal_floating_point_literal_pattern lintRalf Jung-4/+0
2024-01-26make matching on NaN a hard errorRalf Jung-0/+9
2024-01-22Rollup merge of #119948 - asquared31415:unsafe_op_in_unsafe_fn_fix, r=TaKO8KiMatthias Krüger-1/+1
2024-01-18Typecheck never patternsNadrieril-0/+10
2024-01-15make unsafe_op_in_unsafe_fn MachineApplicable and add it to 2024 compatibilityasquared31415-1/+1
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-4/+4
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-6/+2
2023-12-22Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errorsbors-6/+11
2023-12-19Auto merge of #118842 - Nadrieril:librarify-further, r=compiler-errorsbors-2/+2
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-6/+11
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-3/+3
2023-12-15s/RustcCtxt/RustcMatchCheckCtxt/Nadrieril-2/+2
2023-12-15Name rustc-specific things "rustc"Nadrieril-2/+2
2023-12-11Gather rustc-specific functions around `MatchCheckCtxt`Nadrieril-1/+1
2023-12-11Extract exhaustiveness into its own crateNadrieril-93/+2
2023-11-28thir-unsafeck: print list of missing target features when calling a function ...Eduardo Sánchez Muñoz-3/+22
2023-11-06Add suggestion to THIR unsafe_op_in_unsafe_fn lintMatthew Jasper-0/+43
2023-11-04Suggest to set lint level on whole matchNadrieril-1/+8
2023-11-04Warn when lint level is set on a match armNadrieril-0/+5
2023-10-27s/to_pat/to_diagnostic_pat/Nadrieril-3/+9
2023-10-25Make THIR unused_unsafe lint consistent with MIRMatthew Jasper-5/+0
2023-10-14Distinguish user patterns from reconstructed witnessesNadrieril-2/+2
2023-10-11Fix range overflow checkingNadrieril-0/+1
2023-09-24work towards rejecting consts in patterns that do not implement PartialEqRalf Jung-0/+6
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-6/+2
2023-07-15Implement "items do not inherit unsafety" for THIR unsafecksyvb-0/+51
2023-06-28use translatable subdiagnosticEric Mark Martin-0/+4