about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
2024-12-09review comments: rewordingsEsteban Küber-1/+1
2024-12-09Introduce `default_field_values` featureEsteban Küber-38/+98
2024-12-07Auto merge of #133978 - matthiaskrgr:rollup-6gh1iho, r=matthiaskrgrbors-1/+5
2024-12-07Auto merge of #133897 - oli-obk:push-lsxrqtqqwmpt, r=jieyouxubors-24/+0
2024-12-06Silence follow-up errors from `lit_to_const`Oli Scherer-1/+5
2024-12-05Rollup merge of #133607 - WaffleLapkin:tail-call-checks, r=compiler-errorsGuillaume Gomez-0/+392
2024-12-05Avoid looking at HIR for inline const pattern literalsOli Scherer-24/+0
2024-12-04review comments: reword messages and simplify logicEsteban Küber-43/+23
2024-12-04Add more context to fall-through "const pattern of non-structural type" errorEsteban Küber-42/+157
2024-12-04Add context to fall-through "const pattern of non-structural type" errorEsteban Küber-7/+10
2024-12-04Add additional context for non-sructural type constant used in patternEsteban Küber-11/+31
2024-12-04Reword message for non-structural type constant in patternEsteban Küber-2/+1
2024-12-04Specify type kind of constant that can't be used in patternsEsteban Küber-6/+14
2024-12-04Tweak output of some const pattern errorsEsteban Küber-5/+29
2024-12-04Point at generic param through which a const is used in a patternEsteban Küber-3/+24
2024-12-04Tweak ptr in pattern errorEsteban Küber-1/+5
2024-12-04Tweak unevaluated constant in pattern errorEsteban Küber-1/+12
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-33/+72
2024-12-02remove `Ty::is_copy_modulo_regions`lcnr-2/+2
2024-11-29simplify things using `tcx.as_lang_item`Maybe Lapkin-27/+25
2024-11-29don't polymorphize without a reason toMaybe Lapkin-2/+1
2024-11-29add a fixme for tailcalls with opaque typesMaybe Lapkin-0/+8
2024-11-29simplify things by using `tcx.fn_trait_kind_from_def_id`Maybe Lapkin-15/+9
2024-11-29implement checks for tail callsMaybe Waffle-0/+393
2024-11-28fix a comment with uneven number of backticks in rustc_mir_buildMaybe Lapkin-1/+1
2024-11-23Auto merge of #131859 - chriskrycho:update-trpl, r=onur-ozkanbors-1/+1
2024-11-23Update messages which reference book chs. 17-20Chris Krycho-1/+1
2024-11-23remove remaining references to `Reveal`lcnr-4/+4
2024-11-23no more Reveal :(lcnr-1/+1
2024-11-23 thir building: use typing_env directlylcnr-42/+19
2024-11-23Auto merge of #132915 - veluca93:unsafe-fields, r=jswrennbors-22/+182
2024-11-22Rollup merge of #132658 - estebank:const-in-pattern-typo, r=NadrierilMichael Goulet-1/+192
2024-11-21Implement the unsafe-fields RFC.Luca Versari-22/+182
2024-11-21Rollup merge of #131544 - nbdd0121:asm_goto_safe_block, r=petrochenkovMatthias Krüger-1/+38
2024-11-20Auto merge of #133261 - matthiaskrgr:rollup-ekui4we, r=matthiaskrgrbors-38/+115
2024-11-20Rollup merge of #132708 - estebank:const-as-binding, r=NadrierilMatthias Krüger-38/+115
2024-11-20Detect const in pattern with typoEsteban Küber-1/+192
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-75/+192
2024-11-19pattern lowering, yeet `TypingEnv::from_param_env`lcnr-63/+38
2024-11-19unconditional recursion, yeet `TypingEnv::from_param_env`lcnr-10/+5
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-17/+28
2024-11-18reviewlcnr-0/+2
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-49/+85
2024-11-17Account for `ExpandedConstant` in `parse_match`Esteban Küber-6/+14
2024-11-17review commentsEsteban Küber-21/+26
2024-11-17review commentsEsteban Küber-4/+0
2024-11-17Make suggestion verboseEsteban Küber-1/+2
2024-11-17Unify expanded constants and named constants in `PatKind`Esteban Küber-31/+54
2024-11-17Point at const when intended binding fall-through pattern is a constEsteban Küber-4/+25
2024-11-17Use `item_name` instead of a span snippet when talking about const patternEsteban Küber-3/+2