about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check
AgeCommit message (Expand)AuthorLines
2021-06-12Rollup merge of #85823 - fee1-dead:borrowck-0, r=jackh726Yuki Okushi-2/+6
2021-06-08Simplify code by using VecMap::get_bySantiago Pastorino-3/+1
2021-06-07Remove substs from OpaqueTypeDecl, use the one in OpaqueTypeKeySantiago Pastorino-1/+1
2021-06-07Use substs from opaque type key instead of using it from opaque_declSantiago Pastorino-11/+7
2021-06-07Make opaque type map key be of type OpaqueTypeKeySantiago Pastorino-2/+4
2021-06-07Remove ResolvedOpaqueTy and just use Ty, SubstsRef is already thereSantiago Pastorino-27/+18
2021-06-07Make OpaqueTypeKey the key of opaque types mapSantiago Pastorino-28/+34
2021-06-07Change concrete opaque type to be a `VecMap`Santiago Pastorino-2/+3
2021-06-07Change opaque type map to be a `VecMap`Santiago Pastorino-1/+1
2021-06-06Add variance-related information to lifetime error messagesAaron Hill-101/+171
2021-06-02Add `Ty::is_union` predicate and use itTomasz Miąsko-18/+13
2021-05-30Do not suggest ampmut if rhs is already mutableDeadbeef-2/+6
2021-05-23Replace Local::new(1) with CAPTURE_STRUCT_LOCALPaul Trojahn-11/+11
2021-05-17Address review commentsJoshua Nelson-1/+1
2021-05-17New rustdoc lint to respect -Dwarnings correctlyAlexis Bourget-1/+1
2021-05-12Auto merge of #83813 - cbeuw:remap-std, r=michaelwoeristerbors-1/+3
2021-05-11Fix CI problemshamidreza kalbasi-41/+37
2021-05-11Split span_to_string into span_to_diagnostic/embeddable_stringAndy Wang-1/+3
2021-05-10remove big matchhamidreza kalbasi-63/+48
2021-05-10move logic to a functionhamidreza kalbasi-81/+79
2021-05-09Try to fix issue 68049hamidreza kalbasi-10/+103
2021-05-01add docstrings and add issue to FIXMEsChris Pardy-1/+3
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-1/+1
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-1/+1
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-2/+2
2021-05-01Closure capture borrow diagnostics for disjoint capturesChris Pardy-79/+174
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