about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-08-06coverage: Remove all unstable support for MC/DC instrumentationZalathar-9/+0
2025-08-01loop match: error on `#[const_continue]` outside `#[loop_match]`Folkert de Vries-2/+2
2025-07-26`loop_match`: suggest extracting to a `const` itemFolkert de Vries-0/+32
2025-07-01loop match: handle opaque patternsFolkert de Vries-1/+0
2025-06-25Rollup merge of #142724 - xizheyin:avoid_overwrite_args, r=oli-obkJana Dönszelmann-4/+13
2025-06-25Add runtime check to avoid overwrite arg easily in diag and store and restore...xizheyin-4/+13
2025-06-23Add `#[loop_match]` for improved DFA codegenbjorn3-0/+77
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-16/+4
2025-03-07Add helper methods checking for "#[non_exhaustive] that's active"Maja Kądziołka-3/+3
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-2/+2
2025-02-17Rollup merge of #136817 - dianne:clean-and-comment-pat-migration, r=NadrierilMatthias Krüger-3/+0
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-2/+1
2025-02-10move pattern migration setup/emitting to a separate moduledianne-3/+0
2025-02-05peace of mind: be absolutely sure we don't try to emit a 0-part suggestiondianne-1/+4
2025-02-05try to suggest eliding redundant binding modifiersdianne-9/+14
2025-02-05reword default binding mode notesdianne-9/+3
2025-02-05separate labels for default binding mode spans into their own notesdianne-0/+21
2025-02-04experimentally label the spans for default binding modesdianne-0/+6
2025-02-03reword pattern migration diagnostic to make sense in all editionsdianne-0/+3
2025-02-03pattern migration: move labels out of the suggestion structdianne-6/+4
2025-02-02Rollup merge of #136328 - estebank:long-ty-path, r=jieyouxu,lqdMatthias Krüger-4/+0
2025-01-31Rework "long type names" printing logicEsteban Küber-4/+0
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-0/+38
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-3/+3
2025-01-24Use short ty string for move errorsEsteban Küber-2/+6
2025-01-18Consolidate ad-hoc MIR lints into real pass-manager-based MIR lintsMichael Goulet-22/+0
2025-01-10mir_build: check annotated functions w/out callersDavid Wood-0/+12
2025-01-03turn rustc_box into an intrinsicRalf Jung-19/+0
2024-12-18Rollup merge of #134394 - dianne:clarify-pat-2024-migration, r=compiler-errors许杰友 Jieyou Xu (Joe)-8/+20
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-17Clarify the match ergonomics 2024 migration lint's outputdianne-8/+20
2024-12-04Add more context to fall-through "const pattern of non-structural type" errorEsteban Küber-1/+0
2024-12-04Add context to fall-through "const pattern of non-structural type" errorEsteban Küber-2/+4
2024-12-04Add additional context for non-sructural type constant used in patternEsteban Küber-2/+7
2024-12-04Specify type kind of constant that can't be used in patternsEsteban Küber-0/+2
2024-12-04Tweak output of some const pattern errorsEsteban Küber-0/+10
2024-12-04Point at generic param through which a const is used in a patternEsteban Küber-0/+1
2024-12-04Tweak ptr in pattern errorEsteban Küber-0/+2
2024-12-04Tweak unevaluated constant in pattern errorEsteban Küber-0/+1
2024-11-23 thir building: use typing_env directlylcnr-1/+1
2024-11-23Auto merge of #132915 - veluca93:unsafe-fields, r=jswrennbors-0/+67
2024-11-22Rollup merge of #132658 - estebank:const-in-pattern-typo, r=NadrierilMichael Goulet-0/+22
2024-11-21Implement the unsafe-fields RFC.Luca Versari-0/+67
2024-11-20Rollup merge of #132708 - estebank:const-as-binding, r=NadrierilMatthias Krüger-3/+5
2024-11-20Detect const in pattern with typoEsteban Küber-0/+22
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-1/+1
2024-11-17Make suggestion verboseEsteban Küber-1/+2
2024-11-17Point at `const` definition when used instead of a binding in a `let` statementEsteban Küber-2/+3
2024-10-16Rollup merge of #131381 - Nadrieril:min-match-ergonomics, r=pnkfelixMatthias Krüger-0/+2
2024-10-08Error on resetted binding mode in edition 2024Nadrieril-0/+2