about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2022-07-11rename a methodTakayuki Maeda-2/+2
2022-07-11implement `is_accessible_span`Takayuki Maeda-9/+2
2022-07-10Rollup merge of #99103 - TaKO8Ki:avoid-&str-to-string-conversions, r=oli-obkMatthias Krüger-4/+4
2022-07-10avoid some `&str` to `String` conversionsTakayuki Maeda-4/+4
2022-07-08Auto merge of #98482 - cjgillot:short-struct-span-closure, r=estebankbors-4/+2
2022-07-07Wording tweakEsteban Küber-8/+21
2022-07-07Fix label on uninit binding field assignmentEsteban Küber-24/+25
2022-07-07Avoid misleading message/label in `match-cfg-fake-edges.rs` testEsteban Küber-23/+41
2022-07-07Review comments: wordingEsteban Küber-29/+40
2022-07-07Tweak wording and spansEsteban Küber-24/+58
2022-07-07On partial uninit error point at where we need initEsteban Küber-22/+200
2022-07-07Fix borrowck closure span.Camille GILLOT-3/+1
2022-07-07Shorten span for closures.Camille GILLOT-1/+1
2022-07-07Move `predecessors` from Body to BasicBlocksTomasz Miąsko-1/+1
2022-07-06replace `guess_head_span` with `def_span`Takayuki Maeda-6/+1
2022-07-02Rollup merge of #98766 - lcnr:mir-visit-pass_by_value, r=oli-obkDylan DPC-3/+3
2022-07-01Factor out hir::Node::BindingCameron Steffen-1/+1
2022-07-01cleanup mir visitor for `rustc::pass_by_value`lcnr-3/+3
2022-06-29Rollup merge of #98415 - compiler-errors:rustc-borrowck-session-diagnostic-1,...Dylan DPC-12/+24
2022-06-28Migrate some rustc_borrowck diagnostics to SessionDiagnosticMichael Goulet-12/+24
2022-06-28Do not use a suggestion to change a binding's name to a typeMichael Goulet-25/+30
2022-06-28Remove redundant logic to suggest `as_ref`Michael Goulet-46/+7
2022-06-27fold_region: remove unused parameterlcnr-1/+1
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