about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/errors.rs
AgeCommit message (Expand)AuthorLines
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
2023-05-24Emit diagnostic for privately uninhabited uncovered witnesses.Camille GILLOT-0/+2
2023-04-16use matches! macro in more placesMatthias Krüger-7/+2
2023-04-10Fix typos in compilerDaniPopes-4/+4
2023-04-03Remove redundant field.Camille GILLOT-1/+0
2023-04-03Reinstate confusion note.Camille GILLOT-13/+0
2023-04-03Perform match checking on THIR.Camille GILLOT-15/+8
2023-03-27Add notes to non-structural const in pattern error messageJamen Marz-0/+6
2023-03-02Restrict `#[rustc_box]` to `Box::new` callsclubby789-0/+19
2023-02-22errors: generate typed identifiers in each crateDavid Wood-19/+20
2023-01-26Rollup merge of #106978 - mejrs:mir_build3, r=davidtwcoMatthias Krüger-13/+37
2023-01-17Migrate mir_build's borrow conflictsmejrs-13/+37
2023-01-14suggest fix for attempted integer identifier in patternsEzra Shaw-0/+15
2023-01-11Rollup merge of #106097 - mejrs:mir_build2, r=oli-obkMichael Goulet-1/+225
2023-01-11Translate `Overlap` eagerlymejrs-4/+15
2023-01-11Don't recommend `if let` if `let else` worksmejrs-32/+10
2023-01-11Migrate pattern matchingmejrs-7/+157
2023-01-11Migrate usefulness.rsmejrs-0/+14