summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check
AgeCommit message (Expand)AuthorLines
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
2021-03-09Replace todos with implskadmin-8/+44
2021-03-09Update craneliftkadmin-2/+2
2021-03-09Update match brancheskadmin-0/+18
2021-03-08Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelixbors-6/+5
2021-03-05Rollup merge of #81939 - kper:fixing-81584-allocate-in-iter, r=davidtwcoMara-4/+29
2021-03-05Rollup merge of #80723 - rylev:noop-lint-pass, r=estebankMara-4/+4
2021-03-05Shrink the size of Rvalue by 16 bytesOli Scherer-6/+5
2021-03-03Fix testsRyan Levick-4/+4
2021-03-01Box generator-related Body fieldsDániel Buga-6/+3
2021-02-27Rollup merge of #82442 - Aaron1011:fix/closure-mut-crash, r=matthewjasperDylan DPC-25/+26
2021-02-24Auto merge of #82159 - BoxyUwU:uwu, r=varkorbors-1/+4
2021-02-24Add suggestion for iterators in iteratorsKevin Per-4/+29
2021-02-23yeetEllen-1/+4
2021-02-23Rollup merge of #81629 - 1000teslas:issue-81365-fix, r=Aaron1011Dylan DPC-4/+37
2021-02-23Skip emitting closure diagnostic when closure_kind_origins has no entryAaron Hill-25/+26
2021-02-22Extract deref coercion explanation into method1000teslas-3/+6
2021-02-19Add deref definition location1000teslas-0/+1