about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check
AgeCommit message (Expand)AuthorLines
2021-06-02Add `Ty::is_union` predicate and use itTomasz Miąsko-18/+13
2021-05-30Do not suggest ampmut if rhs is already mutableDeadbeef-2/+6
2021-05-27replace parent substs of associated types with inference vars in borrow checkb-naber-2/+6
2021-05-23Replace Local::new(1) with CAPTURE_STRUCT_LOCALPaul Trojahn-11/+11
2021-05-17Address review commentsJoshua Nelson-1/+1
2021-05-17New rustdoc lint to respect -Dwarnings correctlyAlexis Bourget-1/+1
2021-05-12Auto merge of #83813 - cbeuw:remap-std, r=michaelwoeristerbors-1/+3
2021-05-11Fix CI problemshamidreza kalbasi-41/+37
2021-05-11Split span_to_string into span_to_diagnostic/embeddable_stringAndy Wang-1/+3
2021-05-10remove big matchhamidreza kalbasi-63/+48
2021-05-10move logic to a functionhamidreza kalbasi-81/+79
2021-05-09Try to fix issue 68049hamidreza kalbasi-10/+103
2021-05-01add docstrings and add issue to FIXMEsChris Pardy-1/+3
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-1/+1
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-1/+1
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-2/+2
2021-05-01Closure capture borrow diagnostics for disjoint capturesChris Pardy-79/+174
2021-04-28Remove extra word in `rustc_mir` docspierwill-1/+1
2021-04-28Auto merge of #83401 - fee1-dead:master, r=davidtwcobors-7/+10
2021-04-20Auto merge of #84353 - estebank:as-ref-mir, r=davidtwcobors-3/+31
2021-04-19Suggest `.as_ref()` on borrow error involving `Option`/`Result`Esteban Küber-3/+31
2021-04-19fix few typosklensy-1/+1
2021-04-12Compiler error messages: reduce assertiveness of message E0384James Addison-1/+1
2021-04-08Rollup merge of #83980 - pierwill:fix-compiler-librustc-names, r=davidtwcoDylan DPC-1/+1
2021-04-08Fix outdated crate names in compiler docspierwill-1/+1
2021-04-07Rollup merge of #83945 - SkiFire13:fix-83924, r=estebankDylan DPC-1/+18
2021-04-07Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkovDylan DPC-6/+6
2021-04-06Add reborrow suggestion when mutable reference is moved in a for loopGiacomo Stevanato-1/+18
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-6/+6
2021-04-02Reduce size of statementsRoxane-5/+5
2021-04-02Fix diagnostic issue when using FakeReads in closuresRoxane-3/+21
2021-04-02Rollup merge of #83535 - MidasLamb:mir-type-count-mismatch, r=nikomatsakisYuki Okushi-0/+6
2021-03-31Add var to BoundRegion. Add query to get bound vars for applicable items.Jack Huey-15/+29
2021-03-31Add tcx lifetime to BinderJack Huey-3/+3
2021-03-31Some rebinds and dummysJack Huey-1/+1
2021-03-27Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-seDylan DPC-14/+17
2021-03-27lazily calls some fnsklensy-1/+1
2021-03-26Break when there is a mismatch in the type countMidas Lambrichts-0/+6
2021-03-26Use iter::zip in compiler/Josh Stone-14/+17
2021-03-23Fix ICE of for-loop mut borrowck where no suggestions are availableDeadbeef-7/+10
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-4/+2
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-34/+68
2021-03-16Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasperbors-9/+18
2021-03-15Use tracing instrumentation for better bug diagnosingOli Scherer-8/+3
2021-03-15s/ConstantSource/ConstantKind/Oli Scherer-1/+1
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-9/+18
2021-03-12Auto merge of #82935 - henryboisdequin:diagnostic-cleanups, r=estebankbors-6/+7
2021-03-12Don't show note if `span` is `DUMMY_SP`Henry Boisdequin-6/+7
2021-03-09Clean up todoskadmin-45/+9
2021-03-09Switch to changing cp_non_overlap in tformkadmin-0/+6