about summary refs log tree commit diff
path: root/src/librustc_mir_build
AgeCommit message (Expand)AuthorLines
2020-05-15Remove lang_items\(\).*\.unwrap\(\)Nathan Corbyn-1/+2
2020-05-14Rollup merge of #72170 - lcnr:lang_item, r=oli-obkDylan DPC-1/+2
2020-05-14Rollup merge of #72163 - tshepang:nonexistent-link, r=matthewjasperRalf Jung-1/+1
2020-05-13docs: fix linkTshepang Lekhonkhobe-1/+1
2020-05-13use `require_lang_item` over `unwrap`.Bastian Kauschke-1/+2
2020-05-11Fix clippy warningsMatthias Krüger-2/+2
2020-05-10Rollup merge of #71840 - matthewjasper:drop-trees, r=oli-obkRalf Jung-728/+769
2020-05-10Auto merge of #71557 - matthewjasper:mir-asymmetric-or-pattern, r=oli-obkbors-19/+51
2020-05-09Rollup merge of #71555 - cjgillot:nameless, r=matthewjasperRalf Jung-7/+7
2020-05-09Rollup merge of #71508 - oli-obk:alloc_map_unlock, r=RalfJungRalf Jung-3/+3
2020-05-09Address review commentsMatthew Jasper-5/+5
2020-05-09Add some more commentsMatthew Jasper-7/+22
2020-05-09Defer creating drop trees in MIR lowering until leaving that scopeMatthew Jasper-729/+755
2020-05-09Rollup merge of #71942 - nnethercote:shrink-LocalDecl, r=matthewjasperDylan DPC-57/+28
2020-05-08Rollup merge of #71975 - nnethercote:reduce-TypedArena-creations-in-check_mat...Dylan DPC-93/+87
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-7/+7
2020-05-08Create a convenience wrapper for `get_global_alloc(id).unwrap()`Oliver Scherer-2/+2
2020-05-08Move `unwrap_fn` and `unwrap_memory` to `GlobalAlloc`Oliver Scherer-2/+2
2020-05-08Simplify the `tcx.alloc_map` APIOliver Scherer-3/+3
2020-05-08Replace `MatchVisitor::check_in_cx` with `MatchVisitor::new_cx`.Nicholas Nethercote-80/+75
2020-05-08Remove `MatchCheckCtxt::create_and_enter`.Nicholas Nethercote-18/+8
2020-05-07Reduce `TypedArena` creations in `check_match`.Nicholas Nethercote-9/+18
2020-05-07Auto merge of #55617 - oli-obk:stacker, r=nagisa,oli-obkbors-1/+6
2020-05-06Shrink `LocalDecl` by 16 bytes.Nicholas Nethercote-2/+2
2020-05-06Shrink `LocalDecl` by 56 bytes.Nicholas Nethercote-9/+9
2020-05-06Improve `LocalDecl` creation.Nicholas Nethercote-37/+13
2020-05-06Add `SourceInfo::outermost`.Nicholas Nethercote-9/+4
2020-05-04Rollup merge of #71038 - lcnr:dyn_trait_structural_match, r=pnkfelixDylan DPC-13/+14
2020-05-02Move ensure_sufficient_stack to data_structuresSimonas Kazlauskas-1/+1
2020-05-02Prevent stack overflow for deeply recursive codeOliver Scherer-1/+6
2020-05-02fix rustdoc warningsTshepang Lekhonkhobe-0/+2
2020-05-01Auto merge of #70674 - cjgillot:query-arena-all, r=matthewjasperbors-2/+2
2020-04-30Add a convenience function for testing whether a static is `#[thread_local]`Oliver Scherer-3/+2
2020-04-30Auto merge of #70175 - Amanieu:remove_nlp, r=pnkfelixbors-5/+0
2020-04-29emit err when using trait objects in patBastian Kauschke-16/+14
2020-04-29forbid `dyn Trait` in const genericsBastian Kauschke-0/+3
2020-04-29Auto merge of #67343 - ecstatic-morse:qualif-structural-match, r=pnkfelixbors-63/+89
2020-04-29Rollup merge of #71217 - estebank:tail-borrow-sugg, r=pnkfelixDylan DPC-5/+12
2020-04-28Suggest `;` or assignment to drop borrows in tail exprsEsteban Küber-5/+12
2020-04-29Remove Session::no_landing_pads()Amanieu d'Antras-5/+0
2020-04-28Incorporate MIR const-checker into `Pat` loweringDylan MacKenzie-63/+89
2020-04-28Move a few queries to using an arena.Camille GILLOT-1/+1
2020-04-28Use the query system to allocate.Camille GILLOT-1/+1
2020-04-27Accept `LocalDefId` as argument for `mir_build::lint::check`marmeladema-9/+10
2020-04-27Use `LocalDefId` in `mir_built` querymarmeladema-2/+2
2020-04-26fix more clippy warningsMatthias Krüger-1/+1
2020-04-24Avoid unused Option::map resultsJosh Stone-1/+3
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-5/+5
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-8/+8
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-10/+10