about summary refs log tree commit diff
path: root/src/librustc_mir_build
AgeCommit message (Expand)AuthorLines
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
2020-04-22Use `Body` everywhereDylan MacKenzie-5/+2
2020-04-22Rollup merge of #70970 - eddyb:trait-vs-impl-mismatch, r=oli-obkDylan DPC-1/+1
2020-04-21Auto merge of #71170 - spastorino:dyn-fnonce-alignment, r=nikomatsakisbors-4/+130
2020-04-20tweak commentsNiko Matsakis-5/+10
2020-04-19Fix ICE for broken or-pattern in async fnMatthew Jasper-19/+51
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-13/+20
2020-04-18Make Box<dyn FnOnce> respect self alignmentSantiago Pastorino-3/+124
2020-04-18Detect mistyped associated consts in `Instance::resolve`.Eduard-Mihai Burtescu-1/+1
2020-04-17Auto merge of #71049 - eddyb:const-err, r=oli-obkbors-11/+6
2020-04-16mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`.Eduard-Mihai Burtescu-1/+2
2020-04-16Partially revert "Do not ICE in the face of invalid enum discriminant"Eduard-Mihai Burtescu-10/+4
2020-04-16Rollup merge of #71179 - matthiaskrgr:cl6ppy, r=Dylan-DPCDylan DPC-60/+49
2020-04-16don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-60/+49
2020-04-15Do not ICE in the face of invalid enum discriminantEsteban Küber-4/+10
2020-04-15Rollup merge of #70891 - lcnr:replace-rvalue_aggregate, r=eddybMazdak Farrokhzad-9/+15
2020-04-14Rename AssocKind::Method to AssocKind::FnRustin-Liu-1/+1
2020-04-13unit rvalue: use constant `()` instead of tupleBastian Kauschke-9/+15
2020-04-09Use tri-color search for unconditional recursion lintDylan MacKenzie-135/+111
2020-04-07Further improve commentsJonas Schievink-3/+4