about summary refs log tree commit diff
path: root/src/librustc_mir_build
AgeCommit message (Expand)AuthorLines
2020-05-04Rollup merge of #71038 - lcnr:dyn_trait_structural_match, r=pnkfelixDylan DPC-13/+14
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-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
2020-04-07Add some more commentsJonas Schievink-0/+11
2020-04-06Add some comments and rename variableJonas Schievink-2/+9
2020-04-06Merge redundant match armsJonas Schievink-11/+8
2020-04-06Move closure check upwardsJonas Schievink-7/+6
2020-04-06Don't lint for self-recursion when the function can divergeJonas Schievink-92/+114
2020-04-05Stop importing int/float modules in librustc_*Linus Färnstrand-3/+0
2020-04-02direct imports for langitem stuffMazdak Farrokhzad-6/+6
2020-04-02use direct import for ErrorReportedMazdak Farrokhzad-1/+1
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-15/+18
2020-03-31Use Place directly in librustc_mir_build, it's CopySantiago Pastorino-63/+55
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-23/+16