about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-13Add a machine-applicable suggestion to "unreachable pattern"Nadrieril-0/+2
2024-09-01Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU"Jakub Beránek-35/+0
2024-08-28Implement RFC 3525.Luca Versari-0/+35
2024-08-24Fix `elided_named_lifetimes` in codePavel Grigorenko-1/+1
2024-08-21Rollup merge of #129344 - compiler-errors:less-option-unit-diagnostics, r=jie...Matthias Krüger-5/+5
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-5/+5
2024-08-20Move the "matches no value" note to be a span labelNadrieril-8/+3
2024-08-19Cap the number of patterns pointed to by the lintNadrieril-0/+1
2024-08-19Add a note with a link to explain empty typesNadrieril-0/+2
2024-08-13`#[deprecated_safe_2024]`: Also use the `// TODO:` hint in the compiler errorTobias Bucher-0/+1
2024-08-13Allow to customize `// TODO:` comment for deprecated safe autofixTobias Bucher-4/+2
2024-07-29Rollup merge of #128304 - Zalathar:thir-pat-display, r=NadrierilMatthias Krüger-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+7
2024-07-28Don't store `thir::Pat` in error structsZalathar-1/+1
2024-07-24Improve "covered_by_many" errorNadrieril-16/+2
2024-07-24Explain why a given pattern is considered unreachableNadrieril-3/+29
2024-07-18avoid creating an Instance only to immediately disassemble it againRalf Jung-8/+1
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-3/+3
2024-06-12Add TODO comment to unsafe env modificationTobias Bucher-0/+5
2024-06-04Reduce `pub` exposure.Nicholas Nethercote-259/+259
2024-05-30Auto merge of #124636 - tbu-:pr_env_unsafe, r=petrochenkovbors-0/+19
2024-05-30coverage: Rename MC/DC `conditions_num` to `num_conditions`Zalathar-4/+4
2024-05-30Add `deprecated_safe` lintTobias Bucher-0/+19
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