summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2024-10-11Auto merge of #131045 - compiler-errors:remove-unnamed_fields, r=wesleywiserbors-15/+5
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-1/+4
2024-10-01Remove unnamed field featureMichael Goulet-15/+5
2024-09-28tweak Const::identity_unevaluated name and docsRalf Jung-10/+6
2024-09-28try to get rid of mir::Const::normalizeRalf Jung-4/+2
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-7/+26
2024-09-24use more accurate spans for user type ascriptionsLukas Markeffsky-4/+15
2024-09-24unify dyn* coercions with other pointer coercionsLukas Markeffsky-1/+0
2024-09-23Rollup merge of #130715 - compiler-errors:mir-build-const-eval, r=BoxyUwUMatthias Krüger-1/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-10/+12
2024-09-22Replace calls to Const::eval in mir buildMichael Goulet-1/+3
2024-09-19pin_ergonomics: allow reborrowing as Pin<&T>Eric Holk-6/+9
2024-09-19Allow shortening reborrowsEric Holk-43/+57
2024-09-18Begin experimental support for pin reborrowingEric Holk-0/+45
2024-09-13Add a machine-applicable suggestion to "unreachable pattern"Nadrieril-5/+30
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-1/+7
2024-08-25Avoid taking reference of &TyKindMichael Goulet-1/+1
2024-08-21Rollup merge of #129345 - compiler-errors:scratch4, r=jieyouxuMatthias Krüger-7/+2
2024-08-21Rollup merge of #129344 - compiler-errors:less-option-unit-diagnostics, r=jie...Matthias Krüger-2/+2
2024-08-21Rollup merge of #129281 - Nadrieril:tweak-unreachable-lint-wording, r=estebankMatthias Krüger-4/+22
2024-08-21Simplify some redundant field namesMichael Goulet-7/+2
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+2
2024-08-20Move the "matches no value" note to be a span labelNadrieril-1/+3
2024-08-19Cap the number of patterns pointed to by the lintNadrieril-3/+17
2024-08-19Add a note with a link to explain empty typesNadrieril-0/+2
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-5/+5
2024-08-17Remove a useless ref/id/ref round-trip from `pattern_from_hir`Zalathar-6/+2
2024-08-13Remove a no-longer-true `assert`Nadrieril-4/+6
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-2/+4
2024-08-10Stabilize `min_exhaustive_patterns`Nadrieril-4/+2
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-2/+4
2024-07-29Rollup merge of #128304 - Zalathar:thir-pat-display, r=NadrierilMatthias Krüger-4/+4
2024-07-29Encapsulate the printing of `WitnessPat`Zalathar-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-28/+28
2024-07-26Auto merge of #128034 - Nadrieril:explain-unreachable, r=compiler-errorsbors-25/+64
2024-07-25Turn an unreachable code path into an ICEOli Scherer-11/+5
2024-07-24Improve "covered_by_many" errorNadrieril-2/+11
2024-07-24Explain why a given pattern is considered unreachableNadrieril-19/+45
2024-07-24Move rustc-specific entrypoint to the `rustc` moduleNadrieril-6/+10
2024-07-23Rollup merge of #125834 - workingjubilee:weaken-thir-unsafeck-for-addr-of-sta...Matthias Krüger-2/+4
2024-07-22compiler: treat `&raw (const|mut) UNSAFE_STATIC` implied deref as safeJubilee Young-2/+4
2024-07-21Explain why we require `_` for empty patternsNadrieril-0/+4
2024-07-21Tweak `collect_non_exhaustive_tys`Nadrieril-16/+16
2024-07-18remove saw_const_match_error; check if pattern contains an Error insteadRalf Jung-14/+3
2024-07-18avoid creating an Instance only to immediately disassemble it againRalf Jung-31/+2
2024-07-18const_to_pat: cleanup leftovers from when we had to deal with non-structural ...Ralf Jung-226/+107
2024-07-18valtree construction: keep track of which type was valtree-incompatibleRalf Jung-4/+3
2024-07-03Auto merge of #125507 - compiler-errors:type-length-limit, r=lcnrbors-1/+2
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-1/+2
2024-07-02chore: remove duplicate wordshattizai-1/+1