summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check
AgeCommit message (Expand)AuthorLines
2020-02-21Check types of statics in MIR typeckMatthew Jasper-2/+16
2020-02-21Check `Copy` lifetimes bounds when copying from a projectionMatthew Jasper-27/+25
2020-01-27don't clone types that are copy, round two.Matthias Krüger-9/+7
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
2020-01-10Remove StaticKind::PromotedSantiago Pastorino-78/+21
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-11/+48
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-2/+1
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-0/+1
2020-01-07Move free_region_map to rustc::ty.Camille GILLOT-1/+1
2020-01-07Rollup merge of #67898 - matthewjasper:newtype-index-hygiene, r=CentrilYuki Okushi-3/+3
2020-01-07Rollup merge of #67671 - estebank:type-impl-trait, r=davidtwcoYuki Okushi-3/+8
2020-01-06Account for `type X = impl Trait;` in lifetime suggestionEsteban Küber-3/+8
2020-01-06Improve hygiene of `newtype_index`Matthew Jasper-3/+3
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-26/+27
2020-01-04canonicalize FxHash{Map,Set} importsMazdak Farrokhzad-2/+2
2020-01-04Rollup merge of #67786 - Centril:canon-span, r=petrochenkovMazdak Farrokhzad-5/+5
2020-01-03Rollup merge of #67595 - ohadravid:impl-trait-does-not-live-long-enough, r=es...Yuki Okushi-2/+43
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-3/+3
2020-01-02Normalize `syntax::source_map` imports.Mazdak Farrokhzad-2/+2
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-18/+18
2019-12-31Change wording for lifetime suggestion for opaque types from `constraint` to ...Ohad Ravid-2/+2
2019-12-31Auto merge of #67032 - cjgillot:hirene, r=Zoxcbors-1/+1
2019-12-30Suggest adding a lifetime constraint when opaque type is responsible for "doe...Ohad Ravid-1/+42
2019-12-30Auto merge of #67474 - mark-i-m:simplify-borrow_check-4, r=matthewjasperbors-239/+119
2019-12-30Remove HirVec from Generics.Camille GILLOT-1/+1
2019-12-30Rollup merge of #67687 - estebank:issue-67634, r=matthewjasperYuki Okushi-2/+20
2019-12-29fix review commentmark-5/+6
2019-12-29Get rid of ErrorReportingCtxmark-243/+122
2019-12-29Auto merge of #66942 - cjgillot:hirene-ty, r=Zoxcbors-8/+8