about summary refs log tree commit diff
path: root/compiler/rustc_borrowck
AgeCommit message (Expand)AuthorLines
2022-04-10Rollup merge of #95807 - TaKO8Ki:suggest-local-var-for-vector, r=fee1-deadDylan DPC-9/+31
2022-04-10Store LocalDefId in is_late_bound_map.Camille GILLOT-5/+3
2022-04-10Avoid accessing HIR from MIR queries.Camille GILLOT-14/+15
2022-04-09use `format-args-capture` and remove unnecessary nested blocksTakayuki Maeda-133/+116
2022-04-08suggest adding a local for vector to fix borrowck errorsTakayuki Maeda-9/+31
2022-04-07Deduplicate the error printing code for hidden type mismatchesOli Scherer-10/+3
2022-04-07Report opaque type mismatches directly during borrowck of the function instea...Oli Scherer-13/+25
2022-04-06Check that all hidden types are the same and then deduplicate them.Oli Scherer-62/+80
2022-04-05Rollup merge of #95670 - TaKO8Ki:remove-unused-function-parameters, r=davidtwcoDylan DPC-12/+3
2022-04-05remove unused function parametersTakayuki Maeda-12/+3
2022-04-05Rollup merge of #95607 - compiler-errors:issue-95272, r=Aaron1011Dylan DPC-4/+15
2022-04-05errors: implement fallback diagnostic translationDavid Wood-1/+1
2022-04-05span: move `MultiSpan`David Wood-4/+4
2022-04-04Format invariance notes with backticksMichael Goulet-4/+4
2022-04-04Handle reporting invariance of fn pointerMichael Goulet-0/+11
2022-03-31update commentlcnr-2/+4
2022-03-31obligation cause: `RepeatVec` -> `RepeatValueCopy`lcnr-1/+3
2022-03-31Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errorsDylan DPC-1/+1
2022-03-30Auto merge of #95436 - cjgillot:static-mut, r=oli-obkbors-5/+5
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-30Auto merge of #95466 - Dylan-DPC:rollup-g7ddr8y, r=Dylan-DPCbors-11/+11
2022-03-30Rollup merge of #95461 - nyurik:spelling, r=lcnrDylan DPC-9/+9
2022-03-30Rollup merge of #95460 - nyurik:spelling-str, r=lcnrDylan DPC-2/+2
2022-03-30Spellchecking compiler codeYuri Astrakhan-2/+2
2022-03-30Spellchecking some commentsYuri Astrakhan-9/+9
2022-03-30Auto merge of #94081 - oli-obk:lazy_tait_take_two, r=nikomatsakisbors-271/+275
2022-03-29Remember mutability in `DefKind::Static`.Camille GILLOT-5/+5
2022-03-29Rollup merge of #95415 - notriddle:notriddle/issue-82081, r=Dylan-DPCDylan DPC-2/+7
2022-03-28Suggest function borrow ignoring needs_noteMichael Goulet-2/+6
2022-03-28drive-by: move Copy bound suggestion to its own functionMichael Goulet-60/+65
2022-03-28Add suggestion to borrow opaque Fn and FnMut instead of moveMichael Goulet-13/+90
2022-03-28diagnostics: do not suggest `map.iter_mut()()`Michael Howell-2/+7
2022-03-28Remove opaque type obligation and just register opaque types as they are enco...Oli Scherer-10/+15
2022-03-28Have the spans of TAIT type conflict errors point to the actual site instead ...Oli Scherer-29/+27
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-260/+261
2022-03-26Auto merge of #95149 - cjgillot:once-diag, r=estebankbors-2/+2
2022-03-20Take &mut Diagnostic in emit_diagnostic.Camille GILLOT-2/+2
2022-03-19diagnostics: do not give Option::as_ref suggestion for complex matchMichael Howell-5/+19
2022-03-17Rollup merge of #94698 - WaffleLapkin:simplify-copy-suggestions, r=estebankDylan DPC-80/+55
2022-03-16rustc_error: make ErrorReported impossible to constructmark-3/+5
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-15/+15
2022-03-10Auto merge of #94737 - lcnr:pass-stuff-by-value, r=davidtwcobors-33/+32
2022-03-09Auto merge of #94515 - estebank:tweak-move-error, r=davidtwcobors-183/+195
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-33/+32
2022-03-07Remove redundant code from copy-suggestionsMaybe Waffle-80/+55
2022-03-06Erase regions when checking for missing Copy predicatesMichael Goulet-2/+10
2022-03-04Update `itertools`pierwill-1/+1
2022-03-03Tweak move errorEsteban Kuber-183/+195
2022-03-03Rollup merge of #94375 - WaffleLapkin:copy-suggestion, r=estebankDylan DPC-1/+62
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-64/+68