about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2019-12-04Only warn about missing patterns in the case of an enumNadrieril-2/+2
2019-12-04Make empty match lint more consistent under exhaustive_patternsNadrieril-7/+9
2019-12-04Tweak error on empty matchNadrieril-7/+6
2019-12-04Factor out some `non_exhaustive`-related checksNadrieril-14/+21
2019-12-04Fix explanation of handling of empty enumsNadrieril-17/+8
2019-12-04Clarify handling of `exhaustive_patterns` in `all_constructors`Nadrieril-31/+39
2019-12-04Update src/librustc_mir/interpret/terminator.rsOliver Scherer-0/+1
2019-12-04more privateMark Mansi-6/+7
2019-12-04minor fixMark Mansi-1/+1
2019-12-04fix some importsMark Mansi-83/+93
2019-12-04move region errors to diagnostics moduleMark Mansi-0/+0
2019-12-04fix importsMark Mansi-5/+8
2019-12-04move explain_borrow to diagnosticsMark Mansi-0/+0
2019-12-04fix importsMark Mansi-27/+33
2019-12-04create new borrow_check::diagnostics module and move stuff thereMark Mansi-0/+0
2019-12-04Auto merge of #66275 - oli-obk:organize-intrinsics-promotion-checks, r=RalfJungbors-151/+70
2019-12-04Auto merge of #65947 - eddyb:fn-abi, r=oli-obk,nagisabors-84/+91
2019-12-03Rollup merge of #66960 - wesleywiser:fix_66787_take2, r=oli-obk,RalfJungMazdak Farrokhzad-10/+13
2019-12-03Fix angle bracket formatting when dumping MIR debug varsÖmer Sinan Ağacan-1/+1
2019-12-03rustc: use ReifyShim for reifying Virtual call instances.Eduard-Mihai Burtescu-13/+14
2019-12-03[const-prop] Fix ICE calculating enum discriminantWesley Wiser-10/+13
2019-12-03rustc: expose the mir::Body reference lifetime from mir::ReadOnlyBodyCache (#...Eduard-Mihai Burtescu-53/+53
2019-12-03rustc_mir: don't hardcode InstanceDef::VtableShim behavior to Adjustment::Der...Eduard-Mihai Burtescu-18/+24
2019-12-03Rollup merge of #66967 - Nadrieril:remove-or-pat-hack, r=varkorMazdak Farrokhzad-167/+158
2019-12-03Rollup merge of #66148 - oli-obk:it_must_be_a_sign, r=RalfJungMazdak Farrokhzad-3/+40
2019-12-03TidyOliver Scherer-1/+0
2019-12-03Move all intrinsic whitelists into the constness check fileOliver Scherer-52/+3
2019-12-03Only check `min_const_fn` for const fnsOliver Scherer-1/+1
2019-12-03Check intrinsics for callability in const fnsMahmut Bulut-118/+87
2019-12-02Remove top-level or-pattern hackNadrieril-102/+80
2019-12-02Correct error on partially unreachable or-pat in `if let`Nadrieril-10/+12
2019-12-02Lint for redundant branches in or-patternsNadrieril-13/+40
2019-12-02Simplify lifetimes by allocating patterns on the arenaNadrieril-49/+38
2019-12-02`UsefulWithWitness` always carries some witnessesNadrieril-1/+1
2019-12-02Don't build the same matrix twiceNadrieril-10/+5
2019-12-02Auto merge of #64736 - Nashenas88:mir_predecessors_cache_cleanup, r=oli-obkbors-404/+558
2019-12-02Suggest feature for const_mut_refs errorsChristian Poveda-3/+7
2019-12-02Fix issues caused during rebasingPaul Daniel Faria-2/+1
2019-12-02Disallow cell borrowingChristian Poveda-27/+36
2019-12-02Allow mutable derefs with feature gateChristian Poveda-1/+5
2019-12-02Allow mutable borrows in constant bodiesChristian Poveda-0/+4
2019-12-02Rename feature gateChristian Poveda-1/+1
2019-12-02Allow &mut in const fns when feature gate is enabledChristian Poveda-4/+8
2019-12-02Fix issues caused during rebasingPaul Daniel Faria-4/+4
2019-12-02Fix tidy issuesPaul Daniel Faria-40/+53
2019-12-02Fix rebasing errors, convert some BodyCache::body() calls to reborrowsPaul Daniel Faria-38/+39
2019-12-02Fix type errors created during rebasingPaul Daniel Faria-62/+66
2019-12-02Fix type errors cause during rebasingPaul Daniel Faria-5/+6
2019-12-02Compute predecessors in mir_build query and use existing cache for generating...Paul Daniel Faria-4/+7
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-588/+588