about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2021-01-12Do not suggest invalid code in pattern with loopYuki Okushi-1/+4
2021-01-10Remove trailing whitespace1000teslas-3/+5
2021-01-10Revise async block error message1000teslas-16/+15
2021-01-10Fix location of error message explanation1000teslas-10/+12
2021-01-10Explain why borrows can't be held across yield point in async blocks1000teslas-0/+10
2021-01-08Change wording of noteAaron Hill-1/+1
2021-01-08Explain method-call move errors in loopsAaron Hill-74/+68
2021-01-04Auto merge of #80624 - RalfJung:place-ref, r=oli-obkbors-28/+10
2021-01-03use PlaceRef more consistently instead of loosely coupled local+projectionRalf Jung-28/+10
2021-01-02use hir::Place instead of Symbol in closure_kind_originRoxane-4/+4
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-1/+1
2020-12-30where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)Matthias Krüger-1/+1
2020-12-18Make BoundRegion have a kind of BoungRegionKindJack Huey-6/+6
2020-12-08use .contains() or .any() instead of find(x).is_some() (clippy::search_is_some)Matthias Krüger-1/+1
2020-11-10Initial work for doing minimum capture analysis for RFC-2229Aman Arora-13/+14
2020-11-09Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-SimulacrumDylan DPC-43/+161
2020-11-09use RegionNameHighlight for async fn and closure returnsSNCPlay42-34/+118
2020-11-04fix a couple of clippy warnings:Matthias Krüger-1/+1
2020-10-08Suggest removing &mut from borrow of &mutLzu Tao-32/+36
2020-10-06Fix NLL compare mode testsMatthew Jasper-4/+5
2020-10-05add RegionNameHighlight::OccludedSNCPlay42-11/+27
2020-10-05don't refer to async as 'generators'SNCPlay42-6/+24
2020-10-04Remove `DefId` from `MirBorrowckCtxt`Dylan MacKenzie-23/+27
2020-09-26rename functionsBastian Kauschke-3/+6
2020-09-24nitBastian Kauschke-1/+0
2020-09-24the two hardest things in programming, names and...Bastian Kauschke-3/+3
2020-09-23merge `need_type_info_err(_const)`Bastian Kauschke-3/+3
2020-09-20Rollup merge of #76890 - matthiaskrgr:matches_simpl, r=lcnrRalf Jung-3/+4
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-3/+4
2020-09-17use strip_prefix over starts_with and manual slicing based on pattern length ...Matthias Krüger-5/+4
2020-09-16Rollup merge of #76756 - matthiaskrgr:cl123ppy, r=Dylan-DPCTyler Mandry-1/+1
2020-09-15fix a couple of stylistic clippy warningsMatthias Krüger-1/+1
2020-09-10Note when a a move/borrow error is caused by a deref coercionAaron Hill-24/+84
2020-09-10use push(char) instead of push_str(&str) to add single chars to stringsMatthias Krüger-10/+12
2020-09-07Add CONST_ITEM_MUTATION lintAaron Hill-57/+40
2020-09-04Change ty.kind to a methodLeSeulArtichaut-64/+67
2020-08-30mv compiler to compiler/mark-0/+6967