about summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check
AgeCommit message (Expand)AuthorLines
2020-02-11Auto merge of #69062 - Dylan-DPC:rollup-7wpjpqu, r=Dylan-DPCbors-6/+97
2020-02-11Rollup merge of #68816 - estebank:fn-mut-closure, r=varkorDylan DPC-6/+97
2020-02-11Move more into decorate functions.jumbatm-1/+1
2020-02-11Run RustFmtjumbatm-8/+3
2020-02-11Invert control in struct_lint_level.jumbatm-14/+18
2020-02-09Improve reporting errors and suggestions for trait boundsPatryk Wychowaniec-1/+1
2020-02-08review commentsEsteban Küber-6/+7
2020-02-07Auto merge of #65232 - nikomatsakis:lazy-norm-anon-const-push-2, r=matthewjasperbors-6/+18
2020-02-06Rollup merge of #68524 - jonas-schievink:generator-resume-arguments, r=ZoxcDylan DPC-3/+9
2020-02-06index ReEmpty by universeNiko Matsakis-4/+6
2020-02-06integrate the `sub_free_regions` code so we have only one copy of itNiko Matsakis-2/+7
2020-02-06add a `IsEmpty` for use in verified boundsNiko Matsakis-0/+5
2020-02-04Rollup merge of #68819 - estebank:split_at_mut, r=oli-obkDylan DPC-2/+25
2020-02-03Tweak borrow error on `FnMut` when `Fn` is expectedEsteban Küber-6/+96
2020-02-03Suggest `split_at_mut` on multiple mutable index accessEsteban Küber-2/+25
2020-02-02Account for `?Sized` type parameter boundsEsteban Küber-0/+2
2020-02-02Remove duplicated codeEsteban Küber-1/+1
2020-02-02Add resume arg place to `Yield` MIR terminatorJonas Schievink-3/+9
2020-02-01Use BufWriterShotaro Yamada-7/+27
2020-01-31Auto merge of #68080 - varkor:declared-here, r=petrochenkovbors-2/+2
2020-01-28Fix some wrong dereferences after rebaseSantiago Pastorino-2/+2
2020-01-28./x.py fmtSantiago Pastorino-8/+13
2020-01-28Place::ty_from takes local by valueSantiago Pastorino-21/+21
2020-01-28Local field on PlaceRef and RootPlace is not a reference anymoreSantiago Pastorino-54/+54
2020-01-28record_killed_borrows_for_local takes Local by valueSantiago Pastorino-4/+4
2020-01-28Place conflict functions take Local by valueSantiago Pastorino-6/+6
2020-01-27don't clone types that are copy, round two.Matthias Krüger-9/+7
2020-01-24Normalise diagnostics with respect to "the X is declared/defined here"varkor-2/+2
2020-01-24Rollup merge of #68424 - estebank:suggest-borrow-for-non-copy-vec, r=davidtwcoTyler Mandry-4/+25
2020-01-23use `diagnostic_item` and modify wordingEsteban Küber-6/+16
2020-01-21Suggest borrowing `Vec<NonCopy>` in for loopEsteban Küber-0/+11
2020-01-21Rollup merge of #68140 - ecstatic-morse:const-trait-bound-opt-out, r=oli-obkMazdak Farrokhzad-7/+14
2020-01-20Add `constness` field to `ty::Predicate::Trait`Dylan MacKenzie-7/+14
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-1/+0
2020-01-17Auto merge of #67476 - mark-i-m:simplify-borrow_check-5, r=matthewjasperbors-879/+787
2020-01-16don't clone types that are copyMatthias Krüger-2/+2
2020-01-12address review commentsMark Mansi-13/+12
2020-01-12Get rid of RegionErrorNamingContextMark Mansi-169/+86
2020-01-12rename nonlexical_regioncx -> regioncxMark Mansi-48/+34
2020-01-12Privatize the fields of RegionInferenceContextMark Mansi-38/+71
2020-01-12Move report_region_errors to region_errors.rsMark Mansi-124/+125
2020-01-12Move a bunch of methods to inherent impl MirBorrowckCtxtmark-145/+130
2020-01-12Move some methods to region_infer/mod.rsMark Mansi-431/+440
2020-01-12More separation of error reporting from region inferenceMark Mansi-99/+77
2020-01-12Diagnostics should start lowercasevarkor-2/+2
2020-01-11Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obkbors-550/+303
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-262/+206
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-188/+71
2020-01-10Remove unused param_env parameterSantiago Pastorino-44/+6
2020-01-10Remove StaticKindSantiago Pastorino-36/+20