about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
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-03Bounds-check with PtrMetadata instead of Len in MIRScott McMurray-8/+73
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
2024-11-17Fold `PatKind::NamedConstant` into `PatKind::Constant`Esteban Küber-21/+16
2024-11-17Point at `const` definition when used instead of a binding in a `let` statementEsteban Küber-9/+38
2024-11-12Auto merge of #132943 - matthiaskrgr:rollup-164l3ej, r=matthiaskrgrbors-22/+40
2024-11-12Rollup merge of #132627 - adwinwhite:thir_body_cleanup, r=compiler-errorsMatthias Krüger-4/+0
2024-11-12Consolidate type system const evaluation under `traits::evaluate_const`Boxy-22/+40
2024-11-05Auto merge of #132580 - compiler-errors:globs, r=Noratriebbors-3/+3
2024-11-05cleanup: Remove outdated comment and logic of `thir_body`Adwin White-4/+0
2024-11-04Register const preds for Deref adjustments in HIR typeckMichael Goulet-2/+10