summary refs log tree commit diff
path: root/compiler/rustc_infer/src
AgeCommit message (Expand)AuthorLines
2024-03-15Rollup merge of #122513 - petrochenkov:somehir4, r=fmeaseGuillaume Gomez-21/+19
2024-03-14hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`Vadim Petrochenkov-21/+19
2024-03-14Rollup merge of #122487 - GuillaumeGomez:rename-stmtkind-local, r=oli-obkMatthias Krüger-3/+3
2024-03-14Rename `hir::StmtKind::Local` into `hir::StmtKind::Let`Guillaume Gomez-3/+3
2024-03-13Create some minimal HIR for associated opaque typesVadim Petrochenkov-0/+1
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-03-11Eliminate `DefiningAnchor::Error`, it is indistinguishable from `DefiningAnch...Oli Scherer-8/+4
2024-03-11Make `DefiningAnchor::Bind` only store the opaque types that may be constrain...Oli Scherer-60/+6
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-38/+38
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-20/+20
2024-03-08Rollup merge of #121563 - Jarcho:use_cf, r=petrochenkovMatthias Krüger-94/+85
2024-03-08Make TAITs capture all higher-ranked lifetimes in scopeMichael Goulet-1/+1
2024-03-07Rollup merge of #122142 - lcnr:rustc_infer-cleanup, r=compiler-errorsGuillaume Gomez-148/+139
2024-03-07cleanup importslcnr-25/+21
2024-03-07move snapshot handling into modlcnr-117/+120
2024-03-07move mod into folderlcnr-0/+0
2024-03-07remove empty folderlcnr-8/+0
2024-03-07Rollup merge of #121863 - lukas-code:silence-mismatched-super-projections, r=...Guillaume Gomez-1/+1
2024-03-07improve debug loggingLukas Markeffsky-1/+1
2024-03-06Auto merge of #121679 - lcnr:opaque-wf-check-2, r=oli-obkbors-1/+18
2024-03-06Auto merge of #122045 - matthiaskrgr:rollup-5l3vpn7, r=matthiaskrgrbors-2/+13
2024-03-05Use `ControlFlow` in HIR visitorsJason Newcomb-94/+85
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-50/+22
2024-03-05Stop using Bubble in coherence and instead emulate it with an intercrate checkOli Scherer-2/+13
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-14/+12
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-5/+5
2024-03-02Auto merge of #121864 - compiler-errors:type-relating-variances, r=aliemjaybors-1/+21
2024-03-01Rollup merge of #121497 - lcnr:coherence-suggest-increasing-recursion-limit, ...Matthias Krüger-6/+10
2024-03-01Rollup merge of #121153 - chenyukang:yukang-fix-105431-type-mismatch, r=estebankMatthias Krüger-0/+97
2024-03-01Don't grab variances if we're invariantMichael Goulet-1/+21
2024-03-01Rollup merge of #121416 - veera-sivarajan:bugfix-120785, r=nnethercoteMatthias Krüger-4/+17
2024-03-01Rebase fallout from TypeRelating::binders, inline higher_ranked_subMichael Goulet-66/+51
2024-03-01Fallout from removing a_is_expectedMichael Goulet-62/+18
2024-03-01Remove a_is_expected from combine relationsMichael Goulet-127/+71
2024-03-01Get rid of some sub_exp and eq_expMichael Goulet-9/+9
2024-03-01Remove causeMichael Goulet-24/+2
2024-03-01Combine sub and eqMichael Goulet-485/+350
2024-03-01Preserve variance on error in generalizerMichael Goulet-2/+2
2024-02-29Auto merge of #118247 - spastorino:type-equality-subtyping, r=lcnrbors-6/+29
2024-02-29Change condition in binders to one that is more readableSantiago Pastorino-5/+5
2024-02-29Make infer higher ranked equate use bidirectional subtyping in invariant contextSantiago Pastorino-2/+25
2024-02-29Rollup merge of #121669 - nnethercote:count-stashed-errs-again, r=estebankGuillaume Gomez-16/+0
2024-02-29distinguish recursion limit based overflow for diagnosticslcnr-6/+10
2024-02-29renaming test casesyukang-6/+6
2024-02-28Improve error messages for generics with default parametersVeera-4/+17
2024-02-29Suggest removing superfluous semicolos when statements used as expressionsyukang-0/+97
2024-02-29Overhaul how stashed diagnostics work, again.Nicholas Nethercote-16/+0
2024-02-29Rollup merge of #121743 - compiler-errors:opportunistically-resolve-regions, ...Matthias Krüger-1/+9
2024-02-28Opportunistically resolve regions when processing region outlives obligationsMichael Goulet-1/+9
2024-02-28Rename `DiagnosticStyledString` as `DiagStyledString`.Nicholas Nethercote-42/+35