summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2022-06-23Rollup merge of #98184 - compiler-errors:elided-lifetime-in-impl-nll, r=cjgillotMichael Goulet-5/+56
2022-06-20Give name if anonymous region appears in impl signatureMichael Goulet-5/+56
2022-06-19Only use special async fn case for actual async fns in borrowck diagnostics.Camille GILLOT-1/+8
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-13/+15
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-15/+15
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-13/+15
2022-06-03Manipulate lifetimes by LocalDefId for region resolution.Camille GILLOT-2/+2
2022-05-29Handle anonymous lifetimes properly in diagnostics.Camille GILLOT-4/+6
2022-05-28Auto merge of #97284 - b-naber:constraint-dyn-impl-suggestion, r=estebankbors-41/+211
2022-05-26clippy::complexity fixesMatthias Krüger-3/+3
2022-05-26rebase, use Ty in CallArgument and re-insert static_assert_size on Constraint...b-naber-8/+9
2022-05-25suggest constraining dyn trait in impl in NLLb-naber-27/+196
2022-05-25add def_id and substs to ConstraintCategory::CallArgumentb-naber-14/+14
2022-05-23Refactor call terminator to always hold a destination placeJakob Degen-4/+4
2022-05-22Lifetime variance fixes for rustcMichael Goulet-3/+4
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-33/+37
2022-05-17Change `Successors` to `impl Iterator<Item = BasicBlock>`SparrowLii-4/+4
2022-05-10Introduce EarlyBinderJack Huey-2/+4
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-12/+15
2022-05-06turn `append_place_to_string` from recursion into iterationSparrowLii-132/+78
2022-05-02fix most compiler/ doctestsElliot Roberts-12/+15
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-1/+1
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-1/+1
2022-04-27Recover suggestions to introduce named lifetime under NLLmarmeladema-1/+34
2022-04-27Rollup merge of #96385 - marmeladema:nll-fix-trait-lifetime-bound-suggestions...Dylan DPC-77/+42
2022-04-25simplify `describe_field` func in borrowck's diagnostics partSparrowLii-19/+10
2022-04-25Recover most `impl Trait` and `dyn Trait` lifetime bound suggestions under NLLmarmeladema-77/+42
2022-04-24Rollup merge of #96352 - marmeladema:fix-nll-lifetime-bound-suggestions, r=ja...Matthias Krüger-1/+5
2022-04-24make `classify_drop_access_kind` iterateSparrowLii-35/+38
2022-04-24Recover missing suggestion part under NLLmarmeladema-1/+4
2022-04-24Improve span for `consider adding an explicit lifetime bound` suggestions und...marmeladema-0/+1
2022-04-20remove an unnecessary format argTakayuki Maeda-1/+1
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-1/+1
2022-04-10Rollup merge of #95807 - TaKO8Ki:suggest-local-var-for-vector, r=fee1-deadDylan DPC-9/+31
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-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-2/+2
2022-04-04Format invariance notes with backticksMichael Goulet-4/+4
2022-04-04Handle reporting invariance of fn pointerMichael Goulet-0/+11
2022-03-30Auto merge of #95466 - Dylan-DPC:rollup-g7ddr8y, r=Dylan-DPCbors-2/+2
2022-03-30Rollup merge of #95461 - nyurik:spelling, r=lcnrDylan DPC-2/+2
2022-03-30Spellchecking some commentsYuri Astrakhan-2/+2
2022-03-30Auto merge of #94081 - oli-obk:lazy_tait_take_two, r=nikomatsakisbors-21/+91
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