about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src
AgeCommit message (Expand)AuthorLines
2024-07-01Auto merge of #126996 - oli-obk:do_not_count_errors, r=nnethercotebors-160/+186
2024-06-30Remove usage of specialization from rustc_borrowckbjorn3-3/+26
2024-06-29fix: prefer `(*p).clone` to `p.clone` if the `p` is a raw pointerLin Yihai-9/+44
2024-06-27Rename `'cx` to `'infcx`Oli Scherer-90/+90
2024-06-26Automatically taint InferCtxt when errors are emittedOli Scherer-5/+10
2024-06-26Restrict diagnostic context lifetime of InferCtxt to itself instead of TyCtxtOli Scherer-24/+45
2024-06-26Restrict diagnostic context lifetime of mir borrowck to InferCtxt instead of ...Oli Scherer-75/+75
2024-06-26Split lifetimes on mir borrowck dataflowOli Scherer-50/+50
2024-06-25Rollup merge of #126884 - estebank:issue-125634, r=NadrierilMatthias Krüger-2/+4
2024-06-24Separate the mir body lifetime from the other lifetimesOli Scherer-61/+70
2024-06-24Separate the lifetimes of the `BorrowckInferCtxt` from the other borrowed itemsOli Scherer-39/+41
2024-06-24Do not ICE when suggesting dereferencing closure argEsteban Küber-2/+4
2024-06-24Auto merge of #126023 - amandasystems:you-dropped-this-again, r=nikomatsakisbors-51/+57
2024-06-21Rename a bunch of thingsMichael Goulet-1/+1
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-263/+167
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-7/+7
2024-06-18Use a more precise lifetimeOli Scherer-4/+4
2024-06-17Rollup merge of #126567 - compiler-errors:instance-kind, r=oli-obk,lcnrMatthias Krüger-2/+2
2024-06-17Rollup merge of #126570 - nnethercote:fix-126385, r=lcnrGuillaume Gomez-3/+1
2024-06-17Rollup merge of #126226 - gurry:125325-improve-closure-arg-sugg, r=oli-obkGuillaume Gomez-44/+69
2024-06-17Convert a `span_bug` to a `span_delayed_bug`.Nicholas Nethercote-3/+1
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-2/+2
2024-06-15Rollup merge of #126508 - beepster4096:minor_borrowck_cherrypick, r=compiler-...Guillaume Gomez-4/+4
2024-06-15Rollup merge of #126410 - RalfJung:smir-const-operand, r=oli-obkGuillaume Gomez-4/+4
2024-06-15Rollup merge of #126354 - compiler-errors:variance, r=lcnrMatthias Krüger-31/+21
2024-06-14make uninitialized_error_reported a set of localsbeepster4096-4/+4
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-15/+13
2024-06-14Rollup merge of #126320 - oli-obk:pat_ice, r=lcnrMatthias Krüger-5/+5
2024-06-13MIR visitor: constant -> const_operandRalf Jung-4/+4
2024-06-13Replace some `Option<Diag>` with `Result<(), Diag>`Oli Scherer-5/+5
2024-06-12Auto merge of #125069 - amandasystems:scc-refactor, r=nikomatsakisbors-201/+191
2024-06-12Use Variance glob import everywhereMichael Goulet-31/+21
2024-06-12Address code review comments on the commentsAmanda Stjerna-29/+29
2024-06-12Move `RegionTracker` to `region_infer`Amanda Stjerna-95/+93
2024-06-12Resurrect some comments, remove a `pub`Amanda Stjerna-1/+42
2024-06-12Roll back a few `#[instrument]`Amanda Stjerna-15/+12
2024-06-12Formatting, weird because I just did thatAmanda Stjerna-2/+2
2024-06-12Simplify path compression logicAmanda Stjerna-3/+12
2024-06-12Extend SCC construction to enable extra functionalityAmanda Stjerna-212/+157
2024-06-12Rollup merge of #126295 - linyihai:uninitalized-in-match-arm, r=pnkfelixGuillaume Gomez-4/+17
2024-06-12Rollup merge of #126301 - nnethercote:sort-crate-attributes, r=davidtwcoJubilee-1/+3
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-1/+3
2024-06-12No uninitalized report in a pre-returned match armLin Yihai-4/+17
2024-06-11Try not to make obligations in handle_opaque_typeMichael Goulet-8/+1
2024-06-11Rename some thingsMichael Goulet-6/+6
2024-06-11Make ObligationEmittingRelation deal with Goals onlyMichael Goulet-11/+27
2024-06-11Get rid of PredicateObligationsMichael Goulet-2/+2
2024-06-10Make suggestion to change `Fn` to `FnMut` work with methods wellGurinder Singh-44/+69
2024-06-06Uplift TypeRelation and RelateMichael Goulet-11/+11
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-2/+2